Package org.robovm.apple.corefoundation
Class CFDate
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.apple.corefoundation.CFType
org.robovm.apple.corefoundation.CFPropertyList
org.robovm.apple.corefoundation.CFDate
- All Implemented Interfaces:
AutoCloseable
public class CFDate extends CFPropertyList
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCFDate.CFDatePtrNested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFPropertyList
CFPropertyList.CFPropertyListPtrNested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler -
Constructor Summary
Constructors Modifier Constructor Description protectedCFDate() -
Method Summary
Modifier and Type Method Description static doubleaddGregorianUnitsToAbsoluteTime(double at, CFTimeZone tz, CFGregorianUnits units)Deprecated.Deprecated in iOS 8.0.CFComparisonResultcompareTo(CFDate otherDate)static CFDatecreate(double at)static CFDatecreate(CFAllocator allocator, double at)doublegetAbsoluteTime()static CFGregorianUnitsgetAbsoluteTimeDifferenceAsGregorianUnits(double at1, double at2, CFTimeZone tz, CFGregorianUnitFlags unitFlags)Deprecated.Deprecated in iOS 8.0.static doublegetAbsoluteTimeIntervalSince1904()static doublegetAbsoluteTimeIntervalSince1970()static longgetClassTypeID()static doublegetCurrentAbsoluteTime()static intgetDayOfWeekFromAbsoluteTime(double at, CFTimeZone tz)Deprecated.Deprecated in iOS 8.0.static intgetDayOfYearFromAbsoluteTime(double at, CFTimeZone tz)Deprecated.Deprecated in iOS 8.0.doublegetTimeIntervalSinceDate(CFDate otherDate)static intgetWeekOfYearFromAbsoluteTime(double at, CFTimeZone tz)Deprecated.Deprecated in iOS 8.0.Methods inherited from class org.robovm.apple.corefoundation.CFPropertyList
asData, asData, create, create, create, create, create, create, createDeepCopy, createDeepCopy, isValid, writeMethods inherited from class org.robovm.apple.corefoundation.CFType
autorelease, close, dispose, dispose, doDispose, equalsTo, finalize, getAllocator, getDescription, getRetainCount, getTypeID, getTypeIDDescription, hash, makeCollectable, release, release, retain, retain, show, toString
-
Constructor Details
-
CFDate
protected CFDate()
-
-
Method Details
-
create
-
compareTo
-
getAbsoluteTimeIntervalSince1970
public static double getAbsoluteTimeIntervalSince1970() -
getAbsoluteTimeIntervalSince1904
public static double getAbsoluteTimeIntervalSince1904() -
getCurrentAbsoluteTime
public static double getCurrentAbsoluteTime() -
getClassTypeID
public static long getClassTypeID() -
create
-
getAbsoluteTime
public double getAbsoluteTime() -
getTimeIntervalSinceDate
-
addGregorianUnitsToAbsoluteTime
@Deprecated public static double addGregorianUnitsToAbsoluteTime(double at, CFTimeZone tz, CFGregorianUnits units)Deprecated.Deprecated in iOS 8.0. Use CFCalendar or NSCalendar API instead -
getAbsoluteTimeDifferenceAsGregorianUnits
@Deprecated public static CFGregorianUnits getAbsoluteTimeDifferenceAsGregorianUnits(double at1, double at2, CFTimeZone tz, CFGregorianUnitFlags unitFlags)Deprecated.Deprecated in iOS 8.0. Use CFCalendar or NSCalendar API instead -
getDayOfWeekFromAbsoluteTime
Deprecated.Deprecated in iOS 8.0. Use CFCalendar or NSCalendar API instead -
getDayOfYearFromAbsoluteTime
Deprecated.Deprecated in iOS 8.0. Use CFCalendar or NSCalendar API instead -
getWeekOfYearFromAbsoluteTime
Deprecated.Deprecated in iOS 8.0. Use CFCalendar or NSCalendar API instead
-