Package apple.foundation
Class NSLocale
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.foundation.NSLocale
-
- All Implemented Interfaces:
NSCoding,NSCopying,NSSecureCoding,NSObject
public class NSLocale extends NSObject implements NSCopying, NSSecureCoding
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Block_accessibilityActivateBlock_ret, NSObject.Block_accessibilityActivationPointBlock_ret, NSObject.Block_accessibilityAttributedHintBlock_ret, NSObject.Block_accessibilityAttributedLabelBlock_ret, NSObject.Block_accessibilityAttributedUserInputLabelsBlock_ret, NSObject.Block_accessibilityAttributedValueBlock_ret, NSObject.Block_accessibilityContainerTypeBlock_ret, NSObject.Block_accessibilityCustomActionsBlock_ret, NSObject.Block_accessibilityCustomRotorsBlock_ret, NSObject.Block_accessibilityDecrementBlock_ret, NSObject.Block_accessibilityElementsBlock_ret, NSObject.Block_accessibilityElementsHiddenBlock_ret, NSObject.Block_accessibilityFrameBlock_ret, NSObject.Block_accessibilityHeaderElementsBlock_ret, NSObject.Block_accessibilityHintBlock_ret, NSObject.Block_accessibilityIdentifierBlock_ret, NSObject.Block_accessibilityIncrementBlock_ret, NSObject.Block_accessibilityLabelBlock_ret, NSObject.Block_accessibilityLanguageBlock_ret, NSObject.Block_accessibilityMagicTapBlock_ret, NSObject.Block_accessibilityNavigationStyleBlock_ret, NSObject.Block_accessibilityPathBlock_ret, NSObject.Block_accessibilityPerformEscapeBlock_ret, NSObject.Block_accessibilityRespondsToUserInteractionBlock_ret, NSObject.Block_accessibilityShouldGroupAccessibilityChildrenBlock_ret, NSObject.Block_accessibilityTextualContextBlock_ret, NSObject.Block_accessibilityTraitsBlock_ret, NSObject.Block_accessibilityUserInputLabelsBlock_ret, NSObject.Block_accessibilityValueBlock_ret, NSObject.Block_accessibilityViewIsModalBlock_ret, NSObject.Block_automationElementsBlock_ret, NSObject.Block_isAccessibilityElementBlock_ret, NSObject.Block_setAccessibilityActivateBlock, NSObject.Block_setAccessibilityActivationPointBlock, NSObject.Block_setAccessibilityAttributedHintBlock, NSObject.Block_setAccessibilityAttributedLabelBlock, NSObject.Block_setAccessibilityAttributedUserInputLabelsBlock, NSObject.Block_setAccessibilityAttributedValueBlock, NSObject.Block_setAccessibilityContainerTypeBlock, NSObject.Block_setAccessibilityCustomActionsBlock, NSObject.Block_setAccessibilityCustomRotorsBlock, NSObject.Block_setAccessibilityDecrementBlock, NSObject.Block_setAccessibilityElementsBlock, NSObject.Block_setAccessibilityElementsHiddenBlock, NSObject.Block_setAccessibilityFrameBlock, NSObject.Block_setAccessibilityHeaderElementsBlock, NSObject.Block_setAccessibilityHintBlock, NSObject.Block_setAccessibilityIdentifierBlock, NSObject.Block_setAccessibilityIncrementBlock, NSObject.Block_setAccessibilityLabelBlock, NSObject.Block_setAccessibilityLanguageBlock, NSObject.Block_setAccessibilityMagicTapBlock, NSObject.Block_setAccessibilityNavigationStyleBlock, NSObject.Block_setAccessibilityPathBlock, NSObject.Block_setAccessibilityPerformEscapeBlock, NSObject.Block_setAccessibilityRespondsToUserInteractionBlock, NSObject.Block_setAccessibilityShouldGroupAccessibilityChildrenBlock, NSObject.Block_setAccessibilityTextualContextBlock, NSObject.Block_setAccessibilityTraitsBlock, NSObject.Block_setAccessibilityUserInputLabelsBlock, NSObject.Block_setAccessibilityValueBlock, NSObject.Block_setAccessibilityViewIsModalBlock, NSObject.Block_setAutomationElementsBlock, NSObject.Block_setIsAccessibilityElementBlock, NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedNSLocale(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean_supportsSecureCoding()This property must return YES on all classes that allow secure coding.static booleanaccessInstanceVariablesDirectly()static NSLocalealloc()static NSLocaleallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)@NotNull java.lang.StringalternateQuotationBeginDelimiter()API-Since: 10.0@NotNull java.lang.StringalternateQuotationEndDelimiter()API-Since: 10.0static booleanautomaticallyNotifiesObserversForKey(@NotNull java.lang.String key)static @NotNull NSLocaleautoupdatingCurrentLocale()generally you should use this property API-Since: 2.0static @NotNull NSArray<java.lang.String>availableLocaleIdentifiers()@NotNull java.lang.StringcalendarIdentifier()API-Since: 10.0static voidcancelPreviousPerformRequestsWithTarget(@NotNull java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull java.lang.Object aTarget, @NotNull org.moe.natj.objc.SEL aSelector, @Nullable java.lang.Object anArgument)static @NotNull java.lang.StringcanonicalLanguageIdentifierFromString(@NotNull java.lang.String string)static @NotNull java.lang.StringcanonicalLocaleIdentifierFromString(@NotNull java.lang.String string)static longcharacterDirectionForLanguage(@NotNull java.lang.String isoLangCode)API-Since: 4.0static @NotNull NSArray<java.lang.String>classFallbacksForKeyedArchiver()static @NotNull org.moe.natj.objc.ClassclassForKeyedUnarchiver()@Nullable java.lang.StringcollationIdentifier()API-Since: 10.0@NotNull java.lang.StringcollatorIdentifier()API-Since: 10.0static @NotNull NSArray<java.lang.String>commonISOCurrencyCodes()API-Since: 2.0static @NotNull NSDictionary<java.lang.String,java.lang.String>componentsFromLocaleIdentifier(@NotNull java.lang.String string)@NotNull java.lang.ObjectcopyWithZone(@Nullable org.moe.natj.general.ptr.VoidPtr zone)@Nullable java.lang.StringcountryCode()Deprecated.@Nullable java.lang.StringcurrencyCode()API-Since: 10.0@NotNull java.lang.StringcurrencySymbol()API-Since: 10.0static @NotNull NSLocalecurrentLocale()an object representing the user's current localestatic java.lang.StringdebugDescription_static()@NotNull java.lang.StringdecimalSeparator()API-Since: 10.0static java.lang.Stringdescription_static()@Nullable java.lang.StringdisplayNameForKeyValue(@NotNull java.lang.String key, @NotNull java.lang.Object value)voidencodeWithCoder(@NotNull NSCoder coder)@NotNull NSCharacterSetexemplarCharacterSet()API-Since: 10.0@NotNull java.lang.StringgroupingSeparator()API-Since: 10.0static longhash_static()NSLocaleinit()NSLocaleinitWithCoder(@NotNull NSCoder coder)NS_DESIGNATED_INITIALIZERNSLocaleinitWithLocaleIdentifier(@NotNull java.lang.String string)static NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)static @NotNull NSArray<java.lang.String>ISOCountryCodes()static @NotNull NSArray<java.lang.String>ISOCurrencyCodes()static @NotNull NSArray<java.lang.String>ISOLanguageCodes()static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static @NotNull NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(@NotNull java.lang.String key)@NotNull java.lang.StringlanguageCode()API-Since: 10.0@NotNull java.lang.StringlanguageIdentifier()Returns the identifier for the language part of the locale.static longlineDirectionForLanguage(@NotNull java.lang.String isoLangCode)API-Since: 4.0@NotNull java.lang.StringlocaleIdentifier()same as NSLocaleIdentifierstatic @NotNull java.lang.StringlocaleIdentifierFromComponents(@NotNull NSDictionary<java.lang.String,java.lang.String> dict)static @Nullable java.lang.StringlocaleIdentifierFromWindowsLocaleCode(int lcid)API-Since: 4.0static NSLocalelocaleWithLocaleIdentifier(@NotNull java.lang.String ident)API-Since: 4.0@Nullable java.lang.StringlocalizedStringForCalendarIdentifier(@NotNull java.lang.String calendarIdentifier)API-Since: 10.0@Nullable java.lang.StringlocalizedStringForCollationIdentifier(@NotNull java.lang.String collationIdentifier)API-Since: 10.0@Nullable java.lang.StringlocalizedStringForCollatorIdentifier(@NotNull java.lang.String collatorIdentifier)API-Since: 10.0@Nullable java.lang.StringlocalizedStringForCountryCode(@NotNull java.lang.String countryCode)API-Since: 10.0@Nullable java.lang.StringlocalizedStringForCurrencyCode(@NotNull java.lang.String currencyCode)API-Since: 10.0@Nullable java.lang.StringlocalizedStringForLanguageCode(@NotNull java.lang.String languageCode)API-Since: 10.0@NotNull java.lang.StringlocalizedStringForLocaleIdentifier(@NotNull java.lang.String localeIdentifier)API-Since: 10.0@Nullable java.lang.StringlocalizedStringForScriptCode(@NotNull java.lang.String scriptCode)API-Since: 10.0@Nullable java.lang.StringlocalizedStringForVariantCode(@NotNull java.lang.String variantCode)API-Since: 10.0static NSLocalenew_objc()@Nullable java.lang.ObjectobjectForKey(@NotNull java.lang.String key)static @NotNull NSArray<java.lang.String>preferredLanguages()note that this list does not indicate what language the app is actually running in; the NSBundle.mainBundle object determines that at launch and knows that information API-Since: 2.0@NotNull java.lang.StringquotationBeginDelimiter()API-Since: 10.0@NotNull java.lang.StringquotationEndDelimiter()API-Since: 10.0@Nullable java.lang.StringregionCode()Returns the region code of the locale.static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)@Nullable java.lang.StringscriptCode()API-Since: 10.0static voidsetVersion_static(long aVersion)static org.moe.natj.objc.Classsuperclass_static()static booleansupportsSecureCoding()static @NotNull NSLocalesystemLocale()the default generic root locale with little localizationbooleanusesMetricSystem()API-Since: 10.0static booleanuseStoredAccessor()Deprecated.@Nullable java.lang.StringvariantCode()API-Since: 10.0static longversion_static()static intwindowsLocaleCodeFromLocaleIdentifier(@NotNull java.lang.String localeIdentifier)API-Since: 4.0-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivateBlock, accessibilityActivationPoint, accessibilityActivationPointBlock, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedHintBlock, accessibilityAttributedLabel, accessibilityAttributedLabelBlock, accessibilityAttributedUserInputLabels, accessibilityAttributedUserInputLabelsBlock, accessibilityAttributedValue, accessibilityAttributedValueBlock, accessibilityContainerType, accessibilityContainerTypeBlock, accessibilityCustomActions, accessibilityCustomActionsBlock, accessibilityCustomRotors, accessibilityCustomRotorsBlock, accessibilityDecrement, accessibilityDecrementBlock, accessibilityDirectTouchOptions, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsBlock, accessibilityElementsHidden, accessibilityElementsHiddenBlock, accessibilityFrame, accessibilityFrameBlock, accessibilityHeaderElementsBlock, accessibilityHint, accessibilityHintBlock, accessibilityIdentifierBlock, accessibilityIncrement, accessibilityIncrementBlock, accessibilityLabel, accessibilityLabelBlock, accessibilityLanguage, accessibilityLanguageBlock, accessibilityMagicTapBlock, accessibilityNavigationStyle, accessibilityNavigationStyleBlock, accessibilityPath, accessibilityPathBlock, accessibilityPerformEscape, accessibilityPerformEscapeBlock, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityRespondsToUserInteractionBlock, accessibilityScroll, accessibilityShouldGroupAccessibilityChildrenBlock, accessibilityTextualContext, accessibilityTextualContextBlock, accessibilityTraits, accessibilityTraitsBlock, accessibilityUserInputLabels, accessibilityUserInputLabelsBlock, accessibilityValue, accessibilityValueBlock, accessibilityViewIsModal, accessibilityViewIsModalBlock, accessibilityZoomInAtPoint, accessibilityZoomOutAtPoint, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, automationElements, automationElementsBlock, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hash, indexOfAccessibilityElement, isAccessibilityElement, isAccessibilityElementBlock, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivateBlock, setAccessibilityActivationPoint, setAccessibilityActivationPointBlock, setAccessibilityAttributedHint, setAccessibilityAttributedHintBlock, setAccessibilityAttributedLabel, setAccessibilityAttributedLabelBlock, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedUserInputLabelsBlock, setAccessibilityAttributedValue, setAccessibilityAttributedValueBlock, setAccessibilityContainerType, setAccessibilityContainerTypeBlock, setAccessibilityCustomActions, setAccessibilityCustomActionsBlock, setAccessibilityCustomRotors, setAccessibilityCustomRotorsBlock, setAccessibilityDecrementBlock, setAccessibilityDirectTouchOptions, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsBlock, setAccessibilityElementsHidden, setAccessibilityElementsHiddenBlock, setAccessibilityFrame, setAccessibilityFrameBlock, setAccessibilityHeaderElementsBlock, setAccessibilityHint, setAccessibilityHintBlock, setAccessibilityIdentifierBlock, setAccessibilityIncrementBlock, setAccessibilityLabel, setAccessibilityLabelBlock, setAccessibilityLanguage, setAccessibilityLanguageBlock, setAccessibilityMagicTapBlock, setAccessibilityNavigationStyle, setAccessibilityNavigationStyleBlock, setAccessibilityPath, setAccessibilityPathBlock, setAccessibilityPerformEscapeBlock, setAccessibilityRespondsToUserInteraction, setAccessibilityRespondsToUserInteractionBlock, setAccessibilityShouldGroupAccessibilityChildrenBlock, setAccessibilityTextualContext, setAccessibilityTextualContextBlock, setAccessibilityTraits, setAccessibilityTraitsBlock, setAccessibilityUserInputLabels, setAccessibilityUserInputLabelsBlock, setAccessibilityValue, setAccessibilityValueBlock, setAccessibilityViewIsModal, setAccessibilityViewIsModalBlock, setAutomationElements, setAutomationElementsBlock, setIsAccessibilityElement, setIsAccessibilityElementBlock, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, storedValueForKey, superclass, takeStoredValueForKey, takeValueForKey, takeValueForKeyPath, takeValuesFromDictionary, unableToSetNilForKey, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, valuesForKeys, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
ISOCountryCodes
@NotNull public static @NotNull NSArray<java.lang.String> ISOCountryCodes()
-
ISOCurrencyCodes
@NotNull public static @NotNull NSArray<java.lang.String> ISOCurrencyCodes()
-
ISOLanguageCodes
@NotNull public static @NotNull NSArray<java.lang.String> ISOLanguageCodes()
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static NSLocale alloc()
-
allocWithZone
public static NSLocale allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(@NotNull @NotNull java.lang.String key)
-
autoupdatingCurrentLocale
@NotNull public static @NotNull NSLocale autoupdatingCurrentLocale()
generally you should use this property API-Since: 2.0
-
availableLocaleIdentifiers
@NotNull public static @NotNull NSArray<java.lang.String> availableLocaleIdentifiers()
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(@NotNull @NotNull java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull @NotNull java.lang.Object aTarget, @NotNull @NotNull org.moe.natj.objc.SEL aSelector, @Nullable @Nullable java.lang.Object anArgument)
-
canonicalLanguageIdentifierFromString
@NotNull public static @NotNull java.lang.String canonicalLanguageIdentifierFromString(@NotNull @NotNull java.lang.String string)
-
canonicalLocaleIdentifierFromString
@NotNull public static @NotNull java.lang.String canonicalLocaleIdentifierFromString(@NotNull @NotNull java.lang.String string)
-
characterDirectionForLanguage
public static long characterDirectionForLanguage(@NotNull @NotNull java.lang.String isoLangCode)API-Since: 4.0
-
classFallbacksForKeyedArchiver
@NotNull public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
@NotNull public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
-
commonISOCurrencyCodes
@NotNull public static @NotNull NSArray<java.lang.String> commonISOCurrencyCodes()
API-Since: 2.0
-
componentsFromLocaleIdentifier
@NotNull public static @NotNull NSDictionary<java.lang.String,java.lang.String> componentsFromLocaleIdentifier(@NotNull @NotNull java.lang.String string)
-
currentLocale
@NotNull public static @NotNull NSLocale currentLocale()
an object representing the user's current locale
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_static()
-
hash_static
public static long hash_static()
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
instanceMethodSignatureForSelector
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
-
instancesRespondToSelector
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
-
isSubclassOfClass
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
-
keyPathsForValuesAffectingValueForKey
@NotNull public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(@NotNull @NotNull java.lang.String key)
-
lineDirectionForLanguage
public static long lineDirectionForLanguage(@NotNull @NotNull java.lang.String isoLangCode)API-Since: 4.0
-
localeIdentifierFromComponents
@NotNull public static @NotNull java.lang.String localeIdentifierFromComponents(@NotNull @NotNull NSDictionary<java.lang.String,java.lang.String> dict)
-
localeIdentifierFromWindowsLocaleCode
@Nullable public static @Nullable java.lang.String localeIdentifierFromWindowsLocaleCode(int lcid)
API-Since: 4.0
-
localeWithLocaleIdentifier
public static NSLocale localeWithLocaleIdentifier(@NotNull @NotNull java.lang.String ident)
API-Since: 4.0
-
new_objc
public static NSLocale new_objc()
-
preferredLanguages
@NotNull public static @NotNull NSArray<java.lang.String> preferredLanguages()
note that this list does not indicate what language the app is actually running in; the NSBundle.mainBundle object determines that at launch and knows that information API-Since: 2.0
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
setVersion_static
public static void setVersion_static(long aVersion)
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
systemLocale
@NotNull public static @NotNull NSLocale systemLocale()
the default generic root locale with little localization
-
version_static
public static long version_static()
-
windowsLocaleCodeFromLocaleIdentifier
public static int windowsLocaleCodeFromLocaleIdentifier(@NotNull @NotNull java.lang.String localeIdentifier)API-Since: 4.0
-
alternateQuotationBeginDelimiter
@NotNull public @NotNull java.lang.String alternateQuotationBeginDelimiter()
API-Since: 10.0
-
alternateQuotationEndDelimiter
@NotNull public @NotNull java.lang.String alternateQuotationEndDelimiter()
API-Since: 10.0
-
calendarIdentifier
@NotNull public @NotNull java.lang.String calendarIdentifier()
API-Since: 10.0
-
collationIdentifier
@Nullable public @Nullable java.lang.String collationIdentifier()
API-Since: 10.0
-
collatorIdentifier
@NotNull public @NotNull java.lang.String collatorIdentifier()
API-Since: 10.0
-
copyWithZone
@NotNull public @NotNull java.lang.Object copyWithZone(@Nullable @Nullable org.moe.natj.general.ptr.VoidPtr zone)- Specified by:
copyWithZonein interfaceNSCopying
-
countryCode
@Deprecated @Nullable public @Nullable java.lang.String countryCode()
Deprecated.API-Since: 10.0 Deprecated-Since: 100000.0
-
currencyCode
@Nullable public @Nullable java.lang.String currencyCode()
API-Since: 10.0
-
currencySymbol
@NotNull public @NotNull java.lang.String currencySymbol()
API-Since: 10.0
-
decimalSeparator
@NotNull public @NotNull java.lang.String decimalSeparator()
API-Since: 10.0
-
displayNameForKeyValue
@Nullable public @Nullable java.lang.String displayNameForKeyValue(@NotNull @NotNull java.lang.String key, @NotNull @NotNull java.lang.Object value)
-
encodeWithCoder
public void encodeWithCoder(@NotNull @NotNull NSCoder coder)- Specified by:
encodeWithCoderin interfaceNSCoding
-
exemplarCharacterSet
@NotNull public @NotNull NSCharacterSet exemplarCharacterSet()
API-Since: 10.0
-
groupingSeparator
@NotNull public @NotNull java.lang.String groupingSeparator()
API-Since: 10.0
-
initWithCoder
public NSLocale initWithCoder(@NotNull @NotNull NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding
-
initWithLocaleIdentifier
public NSLocale initWithLocaleIdentifier(@NotNull @NotNull java.lang.String string)
-
languageCode
@NotNull public @NotNull java.lang.String languageCode()
API-Since: 10.0
-
localeIdentifier
@NotNull public @NotNull java.lang.String localeIdentifier()
same as NSLocaleIdentifier
-
localizedStringForCalendarIdentifier
@Nullable public @Nullable java.lang.String localizedStringForCalendarIdentifier(@NotNull @NotNull java.lang.String calendarIdentifier)API-Since: 10.0
-
localizedStringForCollationIdentifier
@Nullable public @Nullable java.lang.String localizedStringForCollationIdentifier(@NotNull @NotNull java.lang.String collationIdentifier)API-Since: 10.0
-
localizedStringForCollatorIdentifier
@Nullable public @Nullable java.lang.String localizedStringForCollatorIdentifier(@NotNull @NotNull java.lang.String collatorIdentifier)API-Since: 10.0
-
localizedStringForCountryCode
@Nullable public @Nullable java.lang.String localizedStringForCountryCode(@NotNull @NotNull java.lang.String countryCode)API-Since: 10.0
-
localizedStringForCurrencyCode
@Nullable public @Nullable java.lang.String localizedStringForCurrencyCode(@NotNull @NotNull java.lang.String currencyCode)API-Since: 10.0
-
localizedStringForLanguageCode
@Nullable public @Nullable java.lang.String localizedStringForLanguageCode(@NotNull @NotNull java.lang.String languageCode)API-Since: 10.0
-
localizedStringForLocaleIdentifier
@NotNull public @NotNull java.lang.String localizedStringForLocaleIdentifier(@NotNull @NotNull java.lang.String localeIdentifier)API-Since: 10.0
-
localizedStringForScriptCode
@Nullable public @Nullable java.lang.String localizedStringForScriptCode(@NotNull @NotNull java.lang.String scriptCode)API-Since: 10.0
-
localizedStringForVariantCode
@Nullable public @Nullable java.lang.String localizedStringForVariantCode(@NotNull @NotNull java.lang.String variantCode)API-Since: 10.0
-
objectForKey
@Nullable public @Nullable java.lang.Object objectForKey(@NotNull @NotNull java.lang.String key)
-
quotationBeginDelimiter
@NotNull public @NotNull java.lang.String quotationBeginDelimiter()
API-Since: 10.0
-
quotationEndDelimiter
@NotNull public @NotNull java.lang.String quotationEndDelimiter()
API-Since: 10.0
-
scriptCode
@Nullable public @Nullable java.lang.String scriptCode()
API-Since: 10.0
-
_supportsSecureCoding
public boolean _supportsSecureCoding()
Description copied from interface:NSSecureCodingThis property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.- Specified by:
_supportsSecureCodingin interfaceNSSecureCoding
-
usesMetricSystem
public boolean usesMetricSystem()
API-Since: 10.0
-
variantCode
@Nullable public @Nullable java.lang.String variantCode()
API-Since: 10.0
-
languageIdentifier
@NotNull public @NotNull java.lang.String languageIdentifier()
Returns the identifier for the language part of the locale. For example, returns "en-US" for "en_US@rg=gbzzzz" locale. API-Since: 17.0
-
regionCode
@Nullable public @Nullable java.lang.String regionCode()
Returns the region code of the locale. If the `rg` subtag is present, the value of the subtag will be used. For example, returns "GB" for "en_US@rg=gbzzzz" locale. If the `localeIdentifier` doesn’t contain a region, returns `nil`. API-Since: 17.0
-
useStoredAccessor
@Deprecated public static boolean useStoredAccessor()
Deprecated.
-
-