Class NSTimeZone

    • Constructor Detail

      • NSTimeZone

        protected NSTimeZone​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • abbreviationDictionary

        @NotNull
        public static @NotNull NSDictionary<java.lang.String,​java.lang.String> abbreviationDictionary()
      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static NSTimeZone allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • 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)
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • defaultTimeZone

        @NotNull
        public static @NotNull NSTimeZone defaultTimeZone()
      • hash_static

        public static long hash_static()
      • 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)
      • knownTimeZoneNames

        @NotNull
        public static @NotNull NSArray<java.lang.String> knownTimeZoneNames()
      • localTimeZone

        @NotNull
        public static @NotNull NSTimeZone localTimeZone()
      • resetSystemTimeZone

        public static void resetSystemTimeZone()
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setAbbreviationDictionary

        public static void setAbbreviationDictionary​(@NotNull
                                                     @NotNull NSDictionary<java.lang.String,​java.lang.String> value)
        API-Since: 4.0
      • setDefaultTimeZone

        public static void setDefaultTimeZone​(@NotNull
                                              @NotNull NSTimeZone value)
      • 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()
      • systemTimeZone

        @NotNull
        public static @NotNull NSTimeZone systemTimeZone()
      • timeZoneDataVersion

        @NotNull
        public static @NotNull java.lang.String timeZoneDataVersion()
        API-Since: 4.0
      • timeZoneForSecondsFromGMT

        public 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).
      • timeZoneWithAbbreviation

        public static NSTimeZone timeZoneWithAbbreviation​(@NotNull
                                                          @NotNull java.lang.String abbreviation)
      • timeZoneWithName

        public static NSTimeZone timeZoneWithName​(@NotNull
                                                  @NotNull java.lang.String tzName)
        Primary creation method is +timeZoneWithName:; the data-taking variants should rarely be used directly
      • timeZoneWithNameData

        public static NSTimeZone timeZoneWithNameData​(@NotNull
                                                      @NotNull java.lang.String tzName,
                                                      @Nullable
                                                      @Nullable NSData aData)
      • version_static

        public static long version_static()
      • abbreviation

        @Nullable
        public @Nullable java.lang.String abbreviation()
      • abbreviationForDate

        @Nullable
        public @Nullable java.lang.String abbreviationForDate​(@NotNull
                                                              @NotNull NSDate aDate)
      • copyWithZone

        @NotNull
        public @NotNull java.lang.Object copyWithZone​(@Nullable
                                                      @Nullable org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • data

        @NotNull
        public @NotNull NSData data()
      • daylightSavingTimeOffset

        public double daylightSavingTimeOffset()
        for current instant API-Since: 2.0
      • daylightSavingTimeOffsetForDate

        public double daylightSavingTimeOffsetForDate​(@NotNull
                                                      @NotNull NSDate aDate)
        API-Since: 2.0
      • initWithName

        public NSTimeZone initWithName​(@NotNull
                                       @NotNull java.lang.String tzName)
      • initWithNameData

        public NSTimeZone initWithNameData​(@NotNull
                                           @NotNull java.lang.String tzName,
                                           @Nullable
                                           @Nullable NSData aData)
      • isDaylightSavingTime

        public boolean isDaylightSavingTime()
      • isDaylightSavingTimeForDate

        public boolean isDaylightSavingTimeForDate​(@NotNull
                                                   @NotNull NSDate aDate)
      • isEqualToTimeZone

        public boolean isEqualToTimeZone​(@NotNull
                                         @NotNull NSTimeZone aTimeZone)
      • localizedNameLocale

        @Nullable
        public @Nullable java.lang.String localizedNameLocale​(long style,
                                                              @Nullable
                                                              @Nullable NSLocale locale)
        API-Since: 2.0
      • name

        @NotNull
        public @NotNull java.lang.String name()
      • nextDaylightSavingTimeTransition

        @Nullable
        public @Nullable NSDate nextDaylightSavingTimeTransition()
        after current instant API-Since: 2.0
      • nextDaylightSavingTimeTransitionAfterDate

        @Nullable
        public @Nullable NSDate nextDaylightSavingTimeTransitionAfterDate​(@NotNull
                                                                          @NotNull NSDate aDate)
        API-Since: 2.0
      • secondsFromGMT

        public long secondsFromGMT()
      • secondsFromGMTForDate

        public long secondsFromGMTForDate​(@NotNull
                                          @NotNull NSDate aDate)
      • _supportsSecureCoding

        public boolean _supportsSecureCoding()
        Description copied from interface: NSSecureCoding
        This 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:
        _supportsSecureCoding in interface NSSecureCoding
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.