{"name":"expo-localization","kind":1,"children":[{"name":"CalendarIdentifier","kind":8,"comment":{"summary":[{"kind":"text","text":"The calendar identifier, one of [Unicode calendar types](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/calendar).\nGregorian calendar is aliased and can be referred to as both "},{"kind":"code","text":"`CalendarIdentifier.GREGORIAN`"},{"kind":"text","text":" and "},{"kind":"code","text":"`CalendarIdentifier.GREGORY`"},{"kind":"text","text":"."}]},"children":[{"name":"BUDDHIST","kind":16,"comment":{"summary":[{"kind":"text","text":"Thai Buddhist calendar"}]},"type":{"type":"literal","value":"buddhist"}},{"name":"CHINESE","kind":16,"comment":{"summary":[{"kind":"text","text":"Traditional Chinese calendar"}]},"type":{"type":"literal","value":"chinese"}},{"name":"COPTIC","kind":16,"comment":{"summary":[{"kind":"text","text":"Coptic calendar"}]},"type":{"type":"literal","value":"coptic"}},{"name":"DANGI","kind":16,"comment":{"summary":[{"kind":"text","text":"Traditional Korean calendar"}]},"type":{"type":"literal","value":"dangi"}},{"name":"ETHIOAA","kind":16,"comment":{"summary":[{"kind":"text","text":"Ethiopic calendar, Amete Alem (epoch approx. 5493 B.C.E)"}]},"type":{"type":"literal","value":"ethioaa"}},{"name":"ETHIOPIC","kind":16,"comment":{"summary":[{"kind":"text","text":"Ethiopic calendar, Amete Mihret (epoch approx, 8 C.E.)"}]},"type":{"type":"literal","value":"ethiopic"}},{"name":"GREGORIAN","kind":16,"comment":{"summary":[{"kind":"text","text":"Gregorian calendar (alias)"}]},"type":{"type":"literal","value":"gregory"}},{"name":"GREGORY","kind":16,"comment":{"summary":[{"kind":"text","text":"Gregorian calendar"}]},"type":{"type":"literal","value":"gregory"}},{"name":"HEBREW","kind":16,"comment":{"summary":[{"kind":"text","text":"Traditional Hebrew calendar"}]},"type":{"type":"literal","value":"hebrew"}},{"name":"INDIAN","kind":16,"comment":{"summary":[{"kind":"text","text":"Indian calendar"}]},"type":{"type":"literal","value":"indian"}},{"name":"ISLAMIC","kind":16,"comment":{"summary":[{"kind":"text","text":"Islamic calendar"}]},"type":{"type":"literal","value":"islamic"}},{"name":"ISLAMIC_CIVIL","kind":16,"comment":{"summary":[{"kind":"text","text":"Islamic calendar, tabular (intercalary years [2,5,7,10,13,16,18,21,24,26,29] - civil epoch)"}]},"type":{"type":"literal","value":"islamic-civil"}},{"name":"ISLAMIC_RGSA","kind":16,"comment":{"summary":[{"kind":"text","text":"Islamic calendar, Saudi Arabia sighting"}]},"type":{"type":"literal","value":"islamic-rgsa"}},{"name":"ISLAMIC_TBLA","kind":16,"comment":{"summary":[{"kind":"text","text":"Islamic calendar, tabular (intercalary years [2,5,7,10,13,16,18,21,24,26,29] - astronomical epoch)"}]},"type":{"type":"literal","value":"islamic-tbla"}},{"name":"ISLAMIC_UMALQURA","kind":16,"comment":{"summary":[{"kind":"text","text":"Islamic calendar, Umm al-Qura"}]},"type":{"type":"literal","value":"islamic-umalqura"}},{"name":"ISO8601","kind":16,"comment":{"summary":[{"kind":"text","text":"ISO calendar (Gregorian calendar using the ISO 8601 calendar week rules)"}]},"type":{"type":"literal","value":"iso8601"}},{"name":"JAPANESE","kind":16,"comment":{"summary":[{"kind":"text","text":"Japanese imperial calendar"}]},"type":{"type":"literal","value":"japanese"}},{"name":"PERSIAN","kind":16,"comment":{"summary":[{"kind":"text","text":"Persian calendar"}]},"type":{"type":"literal","value":"persian"}},{"name":"ROC","kind":16,"comment":{"summary":[{"kind":"text","text":"Civil (algorithmic) Arabic calendar"}]},"type":{"type":"literal","value":"roc"}}]},{"name":"Weekday","kind":8,"comment":{"summary":[{"kind":"text","text":"An enum mapping days of the week in Gregorian calendar to their index as returned by the "},{"kind":"code","text":"`firstWeekday`"},{"kind":"text","text":" property."}]},"children":[{"name":"FRIDAY","kind":16,"type":{"type":"literal","value":6}},{"name":"MONDAY","kind":16,"type":{"type":"literal","value":2}},{"name":"SATURDAY","kind":16,"type":{"type":"literal","value":7}},{"name":"SUNDAY","kind":16,"type":{"type":"literal","value":1}},{"name":"THURSDAY","kind":16,"type":{"type":"literal","value":5}},{"name":"TUESDAY","kind":16,"type":{"type":"literal","value":3}},{"name":"WEDNESDAY","kind":16,"type":{"type":"literal","value":4}}]},{"name":"Calendar","kind":4194304,"type":{"type":"reflection","declaration":{"name":"__type","kind":65536,"children":[{"name":"calendar","kind":1024,"comment":{"summary":[{"kind":"text","text":"The calendar identifier, one of [Unicode calendar types](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/calendar).\n\nOn Android is limited to one of device's [available calendar types](https://developer.android.com/reference/java/util/Calendar#getAvailableCalendarTypes()).\n\nOn iOS uses [calendar identifiers](https://developer.apple.com/documentation/foundation/calendar/identifier), but maps them to the corresponding Unicode types, will also never contain "},{"kind":"code","text":"`'dangi'`"},{"kind":"text","text":" or "},{"kind":"code","text":"`'islamic-rgsa'`"},{"kind":"text","text":" due to it not being implemented on iOS."}]},"type":{"type":"union","types":[{"type":"reference","name":"CalendarIdentifier"},{"type":"literal","value":null}]}},{"name":"firstWeekday","kind":1024,"comment":{"summary":[{"kind":"text","text":"The first day of the week. For most calendars Sunday is numbered "},{"kind":"code","text":"`1`"},{"kind":"text","text":", with Saturday being number "},{"kind":"code","text":"`7`"},{"kind":"text","text":".\nCan be null on some browsers that don't support the [weekInfo](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/weekInfo) property in [Intl](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl) API."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"`1`"},{"kind":"text","text":", "},{"kind":"code","text":"`7`"},{"kind":"text","text":"."}]}]},"type":{"type":"union","types":[{"type":"reference","name":"Weekday"},{"type":"literal","value":null}]}},{"name":"timeZone","kind":1024,"comment":{"summary":[{"kind":"text","text":"Time zone for the calendar. Can be "},{"kind":"code","text":"`null`"},{"kind":"text","text":" on Web."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"`'America/Los_Angeles'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'Europe/Warsaw'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'GMT+1'`"},{"kind":"text","text":"."}]}]},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"literal","value":null}]}},{"name":"uses24hourClock","kind":1024,"comment":{"summary":[{"kind":"text","text":"True when current device settings use 24 hour time format.\nCan be null on some browsers that don't support the [hourCycle](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/hourCycle) property in [Intl](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl) API."}]},"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"literal","value":null}]}}]}}},{"name":"Locale","kind":4194304,"type":{"type":"reflection","declaration":{"name":"__type","kind":65536,"children":[{"name":"currencyCode","kind":1024,"comment":{"summary":[{"kind":"text","text":"Currency code for the locale.\nIs "},{"kind":"code","text":"`null`"},{"kind":"text","text":" on Web, use a table lookup based on region instead."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"`'USD'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'EUR'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'PLN'`"},{"kind":"text","text":"."}]}]},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"literal","value":null}]}},{"name":"currencySymbol","kind":1024,"comment":{"summary":[{"kind":"text","text":"Currency symbol for the locale.\nIs "},{"kind":"code","text":"`null`"},{"kind":"text","text":" on Web, use a table lookup based on region (if available) instead."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"`'$'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'€'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'zł'`"},{"kind":"text","text":"."}]}]},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"literal","value":null}]}},{"name":"decimalSeparator","kind":1024,"comment":{"summary":[{"kind":"text","text":"Decimal separator used for formatting numbers with fractional parts."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"`'.'`"},{"kind":"text","text":", "},{"kind":"code","text":"`','`"},{"kind":"text","text":"."}]}]},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"literal","value":null}]}},{"name":"digitGroupingSeparator","kind":1024,"comment":{"summary":[{"kind":"text","text":"Digit grouping separator used for formatting large numbers."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"`'.'`"},{"kind":"text","text":", "},{"kind":"code","text":"`','`"},{"kind":"text","text":"."}]}]},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"literal","value":null}]}},{"name":"languageCode","kind":1024,"comment":{"summary":[{"kind":"text","text":"An [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) without the region code."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"`'en'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'es'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'pl'`"},{"kind":"text","text":"."}]}]},"type":{"type":"intrinsic","name":"string"}},{"name":"languageTag","kind":1024,"comment":{"summary":[{"kind":"text","text":"An [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) with a region code."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"`'en-US'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'es-419'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'pl-PL'`"},{"kind":"text","text":"."}]}]},"type":{"type":"intrinsic","name":"string"}},{"name":"measurementSystem","kind":1024,"comment":{"summary":[{"kind":"text","text":"The measurement system used in the locale.\nIs "},{"kind":"code","text":"`null`"},{"kind":"text","text":" on Web, as user chosen measurement system is not exposed on the web and using locale to determine measurement systems is unreliable.\nAsk for user preferences if possible."}]},"type":{"type":"union","types":[{"type":"literal","value":"metric"},{"type":"literal","value":"us"},{"type":"literal","value":"uk"},{"type":"literal","value":null}]}},{"name":"regionCode","kind":1024,"comment":{"summary":[{"kind":"text","text":"The region code for your device that comes from the Region setting under Language & Region on iOS, Region settings on Android and is parsed from locale on Web (can be "},{"kind":"code","text":"`null`"},{"kind":"text","text":" on Web)."}]},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"literal","value":null}]}},{"name":"temperatureUnit","kind":1024,"comment":{"summary":[{"kind":"text","text":"The temperature unit used in the locale.\nReturns "},{"kind":"code","text":"`null`"},{"kind":"text","text":" if the region code is unknown."}]},"type":{"type":"union","types":[{"type":"literal","value":"celsius"},{"type":"literal","value":"fahrenheit"},{"type":"literal","value":null}]}},{"name":"textDirection","kind":1024,"comment":{"summary":[{"kind":"text","text":"Text direction for the locale. One of: "},{"kind":"code","text":"`'ltr'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'rtl'`"},{"kind":"text","text":", but can also be "},{"kind":"code","text":"`null`"},{"kind":"text","text":" on some browsers without support for the [textInfo](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/textInfo) property in [Intl](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl) API."}]},"type":{"type":"union","types":[{"type":"literal","value":"ltr"},{"type":"literal","value":"rtl"},{"type":"literal","value":null}]}}]}}},{"name":"Localization","kind":4194304,"type":{"type":"reflection","declaration":{"name":"__type","kind":65536,"children":[{"name":"currency","kind":1024,"comment":{"summary":[{"kind":"text","text":"Three-character ISO 4217 currency code. Returns "},{"kind":"code","text":"`null`"},{"kind":"text","text":" on web."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"`'USD'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'EUR'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'CNY'`"},{"kind":"text","text":", "},{"kind":"code","text":"`null`"}]}]},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"literal","value":null}]}},{"name":"decimalSeparator","kind":1024,"comment":{"summary":[{"kind":"text","text":"Decimal separator used for formatting numbers."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"`','`"},{"kind":"text","text":", "},{"kind":"code","text":"`'.'`"}]}]},"type":{"type":"intrinsic","name":"string"}},{"name":"digitGroupingSeparator","kind":1024,"comment":{"summary":[{"kind":"text","text":"Digit grouping separator used when formatting numbers larger than 1000."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"`'.'`"},{"kind":"text","text":", "},{"kind":"code","text":"`''`"},{"kind":"text","text":", "},{"kind":"code","text":"`','`"}]}]},"type":{"type":"intrinsic","name":"string"}},{"name":"isMetric","kind":1024,"comment":{"summary":[{"kind":"text","text":"Boolean value that indicates whether the system uses the metric system.\nOn Android and web, this is inferred from the current region."}]},"type":{"type":"intrinsic","name":"boolean"}},{"name":"isRTL","kind":1024,"comment":{"summary":[{"kind":"text","text":"Returns if the system's language is written from Right-to-Left.\nThis can be used to build features like [bidirectional icons](https://material.io/design/usability/bidirectionality.html).\n\nReturns "},{"kind":"code","text":"`false`"},{"kind":"text","text":" in Server Side Rendering (SSR) environments."}]},"type":{"type":"intrinsic","name":"boolean"}},{"name":"isoCurrencyCodes","kind":1024,"comment":{"summary":[{"kind":"text","text":"A list of all the supported language ISO codes."}]},"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}},{"name":"locale","kind":1024,"comment":{"summary":[{"kind":"text","text":"An [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag),\nconsisting of a two-character language code and optional script, region and variant codes."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"`'en'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'en-US'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'zh-Hans'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'zh-Hans-CN'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'en-emodeng'`"}]}]},"type":{"type":"intrinsic","name":"string"}},{"name":"locales","kind":1024,"comment":{"summary":[{"kind":"text","text":"List of all the native languages provided by the user settings.\nThese are returned in the order that the user defined in the device settings."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"`['en', 'en-US', 'zh-Hans', 'zh-Hans-CN', 'en-emodeng']`"}]}]},"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}},{"name":"region","kind":1024,"comment":{"summary":[{"kind":"text","text":"The region code for your device that comes from the Region setting under Language & Region on iOS.\nThis value is always available on iOS, but might return "},{"kind":"code","text":"`null`"},{"kind":"text","text":" on Android or web."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"`'US'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'NZ'`"},{"kind":"text","text":", "},{"kind":"code","text":"`null`"}]}]},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"literal","value":null}]}},{"name":"timezone","kind":1024,"comment":{"summary":[{"kind":"text","text":"The current time zone in display format.\nOn Web time zone is calculated with Intl.DateTimeFormat().resolvedOptions().timeZone. For a\nbetter estimation you could use the moment-timezone package but it will add significant bloat to\nyour website's bundle size."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"`'America/Los_Angeles'`"}]}]},"type":{"type":"intrinsic","name":"string"}}]}}},{"name":"currency","kind":32,"flags":{"isConst":true},"comment":{"summary":[],"blockTags":[{"tag":"@deprecated","content":[{"kind":"text","text":"Use Localization.getLocales() instead.\nThree-character ISO 4217 currency code. Returns "},{"kind":"code","text":"`null`"},{"kind":"text","text":" on web."}]},{"tag":"@example","content":[{"kind":"code","text":"`'USD'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'EUR'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'CNY'`"},{"kind":"text","text":", "},{"kind":"code","text":"`null`"}]}]},"type":{"type":"union","types":[{"type":"literal","value":null},{"type":"intrinsic","name":"string"}]},"defaultValue":"ExpoLocalization.currency"},{"name":"decimalSeparator","kind":32,"flags":{"isConst":true},"comment":{"summary":[],"blockTags":[{"tag":"@deprecated","content":[{"kind":"text","text":"Use Localization.getLocales() instead.\nDecimal separator used for formatting numbers."}]},{"tag":"@example","content":[{"kind":"code","text":"`','`"},{"kind":"text","text":", "},{"kind":"code","text":"`'.'`"}]}]},"type":{"type":"intrinsic","name":"string"},"defaultValue":"ExpoLocalization.decimalSeparator"},{"name":"digitGroupingSeparator","kind":32,"flags":{"isConst":true},"comment":{"summary":[],"blockTags":[{"tag":"@deprecated","content":[{"kind":"text","text":"Use Localization.getLocales() instead.\nDigit grouping separator used when formatting numbers larger than 1000."}]},{"tag":"@example","content":[{"kind":"code","text":"`'.'`"},{"kind":"text","text":", "},{"kind":"code","text":"`''`"},{"kind":"text","text":", "},{"kind":"code","text":"`','`"}]}]},"type":{"type":"intrinsic","name":"string"},"defaultValue":"ExpoLocalization.digitGroupingSeparator"},{"name":"isMetric","kind":32,"flags":{"isConst":true},"comment":{"summary":[],"blockTags":[{"tag":"@deprecated","content":[{"kind":"text","text":"Use Localization.getLocales() instead.\nBoolean value that indicates whether the system uses the metric system.\nOn Android and web, this is inferred from the current region."}]}]},"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"ExpoLocalization.isMetric"},{"name":"isRTL","kind":32,"flags":{"isConst":true},"comment":{"summary":[],"blockTags":[{"tag":"@deprecated","content":[{"kind":"text","text":"Use Localization.getLocales() instead.\nReturns if the system's language is written from Right-to-Left.\nThis can be used to build features like [bidirectional icons](https://material.io/design/usability/bidirectionality.html).\n\nReturns "},{"kind":"code","text":"`false`"},{"kind":"text","text":" in Server Side Rendering (SSR) environments."}]}]},"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"ExpoLocalization.isRTL"},{"name":"isoCurrencyCodes","kind":32,"flags":{"isConst":true},"comment":{"summary":[],"blockTags":[{"tag":"@deprecated","content":[{"kind":"text","text":"Use Localization.getLocales() instead.\nA list of all the supported language ISO codes."}]}]},"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}},"defaultValue":"ExpoLocalization.isoCurrencyCodes"},{"name":"locale","kind":32,"flags":{"isConst":true},"comment":{"summary":[{"kind":"text","text":"Consider using Localization.getLocales() for a list of user preferred locales instead.\nAn [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag),\nconsisting of a two-character language code and optional script, region and variant codes."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"`'en'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'en-US'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'zh-Hans'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'zh-Hans-CN'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'en-emodeng'`"}]}]},"type":{"type":"intrinsic","name":"string"},"defaultValue":"ExpoLocalization.locale"},{"name":"locales","kind":32,"flags":{"isConst":true},"comment":{"summary":[],"blockTags":[{"tag":"@deprecated","content":[{"kind":"text","text":"Use Localization.getLocales() instead.\nList of all the native languages provided by the user settings.\nThese are returned in the order the user defines in their device settings."}]},{"tag":"@example","content":[{"kind":"code","text":"`['en', 'en-US', 'zh-Hans', 'zh-Hans-CN', 'en-emodeng']`"}]}]},"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}},"defaultValue":"ExpoLocalization.locales"},{"name":"region","kind":32,"flags":{"isConst":true},"comment":{"summary":[],"blockTags":[{"tag":"@deprecated","content":[{"kind":"text","text":"Use Localization.getLocales() instead.\nThe region code for your device that comes from the Region setting under Language & Region on iOS.\nThis value is always available on iOS, but might return "},{"kind":"code","text":"`null`"},{"kind":"text","text":" on Android or web."}]},{"tag":"@example","content":[{"kind":"code","text":"`'US'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'NZ'`"},{"kind":"text","text":", "},{"kind":"code","text":"`null`"}]}]},"type":{"type":"union","types":[{"type":"literal","value":null},{"type":"intrinsic","name":"string"}]},"defaultValue":"ExpoLocalization.region"},{"name":"timezone","kind":32,"flags":{"isConst":true},"comment":{"summary":[],"blockTags":[{"tag":"@deprecated","content":[{"kind":"text","text":"Use Localization.getCalendars() instead.\nThe current time zone in display format.\nOn Web time zone is calculated with Intl.DateTimeFormat().resolvedOptions().timeZone. For a\nbetter estimation you could use the moment-timezone package but it will add significant bloat to\nyour website's bundle size."}]},{"tag":"@example","content":[{"kind":"code","text":"`'America/Los_Angeles'`"}]}]},"type":{"type":"intrinsic","name":"string"},"defaultValue":"ExpoLocalization.timezone"},{"name":"getCalendars","kind":64,"signatures":[{"name":"getCalendars","kind":4096,"comment":{"summary":[{"kind":"text","text":"List of user's preferred calendars, returned as an array of objects of type "},{"kind":"code","text":"`Calendar`"},{"kind":"text","text":".\nGuaranteed to contain at least 1 element.\nFor now always returns a single element, but it's likely to return a user preference list on some platforms in the future."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"`[\n {\n \"calendar\": \"gregory\",\n \"timeZone\": \"Europe/Warsaw\",\n \"uses24hourClock\": true,\n \"firstWeekday\": 1\n }\n ]`"}]}]},"type":{"type":"array","elementType":{"type":"reference","name":"Calendar"}}}]},{"name":"getLocales","kind":64,"signatures":[{"name":"getLocales","kind":4096,"comment":{"summary":[{"kind":"text","text":"List of user's locales, returned as an array of objects of type "},{"kind":"code","text":"`Locale`"},{"kind":"text","text":".\nGuaranteed to contain at least 1 element.\nThese are returned in the order the user defines in their device settings.\nOn the web currency and measurements systems are not provided, instead returned as null.\nIf needed, you can infer them from the current region using a lookup table."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"`[{\n \"languageTag\": \"pl-PL\",\n \"languageCode\": \"pl\",\n \"textDirection\": \"ltr\",\n \"digitGroupingSeparator\": \" \",\n \"decimalSeparator\": \",\",\n \"measurementSystem\": \"metric\",\n \"currencyCode\": \"PLN\",\n \"currencySymbol\": \"zł\",\n \"regionCode\": \"PL\",\n \"temperatureUnit\": \"celsius\"\n }]`"}]}]},"type":{"type":"array","elementType":{"type":"reference","name":"Locale"}}}]},{"name":"getLocalizationAsync","kind":64,"signatures":[{"name":"getLocalizationAsync","kind":4096,"comment":{"summary":[{"kind":"text","text":"Get the latest native values from the device. Locale can be changed on some Android devices\nwithout resetting the app.\n> On iOS, changing the locale will cause the device to reset meaning the constants will always be\ncorrect."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```ts\n// When the app returns from the background on Android...\n\nconst { locale } = await Localization.getLocalizationAsync();\n```"}]},{"tag":"@deprecated","content":[{"kind":"text","text":"Use Localization.getLocales() or Localization.getCalendars() instead."}]}]},"type":{"type":"reference","typeArguments":[{"type":"reference","name":"Localization"}],"name":"Promise","qualifiedName":"Promise","package":"typescript"}}]},{"name":"useCalendars","kind":64,"signatures":[{"name":"useCalendars","kind":4096,"comment":{"summary":[{"kind":"text","text":"A hook providing a list of user's preferred calendars, returned as an array of objects of type "},{"kind":"code","text":"`Calendar`"},{"kind":"text","text":".\nGuaranteed to contain at least 1 element.\nFor now always returns a single element, but it's likely to return a user preference list on some platforms in the future.\nIf the OS settings change, the hook will rerender with a new list of calendars."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"`[\n {\n \"calendar\": \"gregory\",\n \"timeZone\": \"Europe/Warsaw\",\n \"uses24hourClock\": true,\n \"firstWeekday\": 1\n }\n ]`"}]}]},"type":{"type":"array","elementType":{"type":"reference","name":"Calendar"}}}]},{"name":"useLocales","kind":64,"signatures":[{"name":"useLocales","kind":4096,"comment":{"summary":[{"kind":"text","text":"A hook providing a list of user's locales, returned as an array of objects of type "},{"kind":"code","text":"`Locale`"},{"kind":"text","text":".\nGuaranteed to contain at least 1 element.\nThese are returned in the order the user defines in their device settings.\nOn the web currency and measurements systems are not provided, instead returned as null.\nIf needed, you can infer them from the current region using a lookup table.\nIf the OS settings change, the hook will rerender with a new list of locales."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"`[{\n \"languageTag\": \"pl-PL\",\n \"languageCode\": \"pl\",\n \"textDirection\": \"ltr\",\n \"digitGroupingSeparator\": \" \",\n \"decimalSeparator\": \",\",\n \"measurementSystem\": \"metric\",\n \"currencyCode\": \"PLN\",\n \"currencySymbol\": \"zł\",\n \"regionCode\": \"PL\",\n \"temperatureUnit\": \"celsius\"\n }]`"}]}]},"type":{"type":"array","elementType":{"type":"reference","name":"Locale"}}}]}]}