public class NSTimeZone extends NSObject implements NSCopying, NSSecureCoding
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
NSTimeZone(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
_supportsSecureCoding()
This property must return YES on all classes that allow secure coding.
|
java.lang.String |
abbreviation() |
static NSDictionary<java.lang.String,java.lang.String> |
abbreviationDictionary() |
java.lang.String |
abbreviationForDate(NSDate aDate) |
static boolean |
accessInstanceVariablesDirectly() |
static NSTimeZone |
alloc() |
static NSTimeZone |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
java.lang.Object |
copyWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
NSData |
data() |
double |
daylightSavingTimeOffset()
for current instant
|
double |
daylightSavingTimeOffsetForDate(NSDate aDate) |
static java.lang.String |
debugDescription_static() |
static NSTimeZone |
defaultTimeZone() |
java.lang.String |
description() |
void |
encodeWithCoder(NSCoder coder) |
static long |
hash_static() |
NSTimeZone |
init() |
NSTimeZone |
initWithCoder(NSCoder coder)
NS_DESIGNATED_INITIALIZER
|
NSTimeZone |
initWithName(java.lang.String tzName) |
NSTimeZone |
initWithNameData(java.lang.String tzName,
NSData aData) |
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
boolean |
isDaylightSavingTime() |
boolean |
isDaylightSavingTimeForDate(NSDate aDate) |
boolean |
isEqualToTimeZone(NSTimeZone aTimeZone) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static NSArray<java.lang.String> |
knownTimeZoneNames() |
java.lang.String |
localizedNameLocale(long style,
NSLocale locale) |
static NSTimeZone |
localTimeZone() |
java.lang.String |
name() |
static NSTimeZone |
new_objc() |
NSDate |
nextDaylightSavingTimeTransition()
after current instant
|
NSDate |
nextDaylightSavingTimeTransitionAfterDate(NSDate aDate) |
static void |
resetSystemTimeZone() |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
long |
secondsFromGMT() |
long |
secondsFromGMTForDate(NSDate aDate) |
static void |
setAbbreviationDictionary(NSDictionary<java.lang.String,java.lang.String> value) |
static void |
setDefaultTimeZone(NSTimeZone value) |
static void |
setVersion_static(long aVersion) |
static org.moe.natj.objc.Class |
superclass_static() |
static boolean |
supportsSecureCoding() |
static NSTimeZone |
systemTimeZone() |
static java.lang.String |
timeZoneDataVersion() |
static NSTimeZone |
timeZoneForSecondsFromGMT(long seconds)
Time zones created with this never have daylight savings and the
offset is constant no matter the date; the name and abbreviation
do NOT follow the POSIX convention (of minutes-west).
|
static NSTimeZone |
timeZoneWithAbbreviation(java.lang.String abbreviation) |
static NSTimeZone |
timeZoneWithName(java.lang.String tzName)
Primary creation method is +timeZoneWithName:; the
data-taking variants should rarely be used directly
|
static NSTimeZone |
timeZoneWithNameData(java.lang.String tzName,
NSData aData) |
static long |
version_static() |
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description_static, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, 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, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeypublic static NSDictionary<java.lang.String,java.lang.String> abbreviationDictionary()
public static boolean accessInstanceVariablesDirectly()
public static NSTimeZone alloc()
public static NSTimeZone allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static NSTimeZone defaultTimeZone()
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static NSArray<java.lang.String> knownTimeZoneNames()
public static NSTimeZone localTimeZone()
public static NSTimeZone new_objc()
public static void resetSystemTimeZone()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setAbbreviationDictionary(NSDictionary<java.lang.String,java.lang.String> value)
public static void setDefaultTimeZone(NSTimeZone value)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static boolean supportsSecureCoding()
public static NSTimeZone systemTimeZone()
public static java.lang.String timeZoneDataVersion()
public static NSTimeZone timeZoneForSecondsFromGMT(long seconds)
public static NSTimeZone timeZoneWithAbbreviation(java.lang.String abbreviation)
public static NSTimeZone timeZoneWithName(java.lang.String tzName)
public static NSTimeZone timeZoneWithNameData(java.lang.String tzName, NSData aData)
public static long version_static()
public java.lang.String abbreviation()
public java.lang.String abbreviationForDate(NSDate aDate)
public java.lang.Object copyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
copyWithZone in interface NSCopyingpublic NSData data()
public double daylightSavingTimeOffset()
public double daylightSavingTimeOffsetForDate(NSDate aDate)
public java.lang.String description()
description in interface NSObjectdescription in class NSObjectpublic void encodeWithCoder(NSCoder coder)
encodeWithCoder in interface NSCodingpublic NSTimeZone init()
public NSTimeZone initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodingpublic NSTimeZone initWithName(java.lang.String tzName)
public NSTimeZone initWithNameData(java.lang.String tzName, NSData aData)
public boolean isDaylightSavingTime()
public boolean isDaylightSavingTimeForDate(NSDate aDate)
public boolean isEqualToTimeZone(NSTimeZone aTimeZone)
public java.lang.String localizedNameLocale(long style,
NSLocale locale)
public java.lang.String name()
public NSDate nextDaylightSavingTimeTransition()
public NSDate nextDaylightSavingTimeTransitionAfterDate(NSDate aDate)
public long secondsFromGMT()
public long secondsFromGMTForDate(NSDate aDate)
public boolean _supportsSecureCoding()
NSSecureCoding_supportsSecureCoding in interface NSSecureCoding