public class NSDate extends NSObject implements NSCopying, NSSecureCoding, CKRecordValue
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
NSDate(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.
|
static boolean |
accessInstanceVariablesDirectly() |
java.lang.Object |
addTimeInterval(double seconds)
Deprecated.
|
static NSDate |
alloc() |
static NSDate |
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() |
long |
compare(NSDate other) |
java.lang.Object |
copyWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static NSDate |
date() |
NSDate |
dateByAddingTimeInterval(double ti) |
static NSDate |
dateWithSRAbsoluteTime(double time) |
static NSDate |
dateWithTimeIntervalSince1970(double secs) |
static NSDate |
dateWithTimeIntervalSinceDate(double secsToBeAdded,
NSDate date) |
static NSDate |
dateWithTimeIntervalSinceNow(double secs) |
static NSDate |
dateWithTimeIntervalSinceReferenceDate(double ti) |
static java.lang.String |
debugDescription_static() |
java.lang.String |
description() |
java.lang.String |
descriptionWithLocale(java.lang.Object locale) |
static NSDate |
distantFuture() |
static NSDate |
distantPast() |
NSDate |
earlierDate(NSDate anotherDate) |
void |
encodeWithCoder(NSCoder coder) |
static long |
hash_static() |
NSDate |
init() |
NSDate |
initWithCoder(NSCoder coder)
NS_DESIGNATED_INITIALIZER
|
NSDate |
initWithSRAbsoluteTime(double time) |
NSDate |
initWithTimeIntervalSince1970(double secs) |
NSDate |
initWithTimeIntervalSinceDate(double secsToBeAdded,
NSDate date) |
NSDate |
initWithTimeIntervalSinceNow(double secs) |
NSDate |
initWithTimeIntervalSinceReferenceDate(double ti) |
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 |
isEqualToDate(NSDate otherDate) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
NSDate |
laterDate(NSDate anotherDate) |
static NSDate |
new_objc() |
static NSDate |
now() |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
static void |
setVersion_static(long aVersion) |
double |
srAbsoluteTime() |
static org.moe.natj.objc.Class |
superclass_static() |
static boolean |
supportsSecureCoding() |
double |
timeIntervalSince1970() |
double |
timeIntervalSinceDate(NSDate anotherDate) |
double |
timeIntervalSinceNow() |
static double |
timeIntervalSinceReferenceDate_static() |
double |
timeIntervalSinceReferenceDate() |
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 boolean accessInstanceVariablesDirectly()
public static NSDate alloc()
public static NSDate 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 NSDate date()
public static NSDate dateWithTimeIntervalSinceDate(double secsToBeAdded, NSDate date)
public static NSDate dateWithTimeIntervalSince1970(double secs)
public static NSDate dateWithTimeIntervalSinceNow(double secs)
public static NSDate dateWithTimeIntervalSinceReferenceDate(double ti)
public static java.lang.String debugDescription_static()
public static NSDate distantFuture()
public static NSDate distantPast()
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 NSDate new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static boolean supportsSecureCoding()
public static double timeIntervalSinceReferenceDate_static()
public static long version_static()
@Deprecated public java.lang.Object addTimeInterval(double seconds)
public long compare(NSDate other)
public java.lang.Object copyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
copyWithZone in interface NSCopyingpublic NSDate dateByAddingTimeInterval(double ti)
public java.lang.String description()
description in interface NSObjectdescription in class NSObjectpublic java.lang.String descriptionWithLocale(java.lang.Object locale)
public void encodeWithCoder(NSCoder coder)
encodeWithCoder in interface NSCodingpublic NSDate initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodingpublic NSDate initWithTimeIntervalSinceDate(double secsToBeAdded, NSDate date)
public NSDate initWithTimeIntervalSince1970(double secs)
public NSDate initWithTimeIntervalSinceNow(double secs)
public NSDate initWithTimeIntervalSinceReferenceDate(double ti)
public boolean isEqualToDate(NSDate otherDate)
public boolean _supportsSecureCoding()
NSSecureCoding_supportsSecureCoding in interface NSSecureCodingpublic double timeIntervalSince1970()
public double timeIntervalSinceDate(NSDate anotherDate)
public double timeIntervalSinceNow()
public double timeIntervalSinceReferenceDate()
public static NSDate now()
public static NSDate dateWithSRAbsoluteTime(double time)
public NSDate initWithSRAbsoluteTime(double time)
public double srAbsoluteTime()