Class NSDate

    • Constructor Detail

      • NSDate

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • alloc

        public static NSDate alloc()
      • allocWithZone

        public static NSDate 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()
      • date

        public static NSDate date()
      • dateWithTimeIntervalSinceDate

        public static NSDate dateWithTimeIntervalSinceDate​(double secsToBeAdded,
                                                           @NotNull
                                                           @NotNull NSDate date)
      • dateWithTimeIntervalSince1970

        public static NSDate dateWithTimeIntervalSince1970​(double secs)
      • dateWithTimeIntervalSinceNow

        public static NSDate dateWithTimeIntervalSinceNow​(double secs)
      • dateWithTimeIntervalSinceReferenceDate

        public static NSDate dateWithTimeIntervalSinceReferenceDate​(double ti)
      • debugDescription_static

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

        @NotNull
        public static @NotNull NSDate distantFuture()
      • distantPast

        @NotNull
        public static @NotNull NSDate distantPast()
      • 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)
      • new_objc

        public static NSDate new_objc()
      • 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()
      • timeIntervalSinceReferenceDate_static

        public static double timeIntervalSinceReferenceDate_static()
      • version_static

        public static long version_static()
      • addTimeInterval

        @NotNull
        @Deprecated
        public @NotNull java.lang.Object addTimeInterval​(double seconds)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 4.0 Deprecated-Message: Use dateByAddingTimeInterval instead
      • compare

        public long compare​(@NotNull
                            @NotNull NSDate other)
      • copyWithZone

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

        @NotNull
        public @NotNull NSDate dateByAddingTimeInterval​(double ti)
        API-Since: 2.0
      • descriptionWithLocale

        @NotNull
        public @NotNull java.lang.String descriptionWithLocale​(@Nullable
                                                               @Nullable java.lang.Object locale)
      • earlierDate

        @NotNull
        public @NotNull NSDate earlierDate​(@NotNull
                                           @NotNull NSDate anotherDate)
      • initWithTimeIntervalSinceDate

        public NSDate initWithTimeIntervalSinceDate​(double secsToBeAdded,
                                                    @NotNull
                                                    @NotNull NSDate date)
      • initWithTimeIntervalSince1970

        public NSDate initWithTimeIntervalSince1970​(double secs)
      • initWithTimeIntervalSinceNow

        public NSDate initWithTimeIntervalSinceNow​(double secs)
      • initWithTimeIntervalSinceReferenceDate

        public NSDate initWithTimeIntervalSinceReferenceDate​(double ti)
      • isEqualToDate

        public boolean isEqualToDate​(@NotNull
                                     @NotNull NSDate otherDate)
      • laterDate

        @NotNull
        public @NotNull NSDate laterDate​(@NotNull
                                         @NotNull NSDate anotherDate)
      • _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
      • timeIntervalSince1970

        public double timeIntervalSince1970()
      • timeIntervalSinceDate

        public double timeIntervalSinceDate​(@NotNull
                                            @NotNull NSDate anotherDate)
      • timeIntervalSinceNow

        public double timeIntervalSinceNow()
      • timeIntervalSinceReferenceDate

        public double timeIntervalSinceReferenceDate()
      • now

        @NotNull
        public static @NotNull NSDate now()
        API-Since: 13.0
      • dateWithSRAbsoluteTime

        public static NSDate dateWithSRAbsoluteTime​(double time)
      • initWithSRAbsoluteTime

        public NSDate initWithSRAbsoluteTime​(double time)
      • srAbsoluteTime

        public double srAbsoluteTime()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.