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:
java.lang.AutoCloseable
public class CFDate extends CFPropertyList
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CFDate.CFDatePtr
-
Nested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFPropertyList
CFPropertyList.CFPropertyListPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CFDate()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static double
addGregorianUnitsToAbsoluteTime(double at, CFTimeZone tz, CFGregorianUnits units)
Deprecated.Deprecated in iOS 8.0.CFComparisonResult
compareTo(CFDate otherDate)
static CFDate
create(double at)
static CFDate
create(CFAllocator allocator, double at)
double
getAbsoluteTime()
static CFGregorianUnits
getAbsoluteTimeDifferenceAsGregorianUnits(double at1, double at2, CFTimeZone tz, CFGregorianUnitFlags unitFlags)
Deprecated.Deprecated in iOS 8.0.static double
getAbsoluteTimeIntervalSince1904()
static double
getAbsoluteTimeIntervalSince1970()
static long
getClassTypeID()
static double
getCurrentAbsoluteTime()
static int
getDayOfWeekFromAbsoluteTime(double at, CFTimeZone tz)
Deprecated.Deprecated in iOS 8.0.static int
getDayOfYearFromAbsoluteTime(double at, CFTimeZone tz)
Deprecated.Deprecated in iOS 8.0.double
getTimeIntervalSinceDate(CFDate otherDate)
static int
getWeekOfYearFromAbsoluteTime(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, write
-
Methods 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
-
-
-
-
Method Detail
-
create
public static CFDate create(double at)
-
compareTo
public CFComparisonResult compareTo(CFDate otherDate)
-
getAbsoluteTimeIntervalSince1970
public static double getAbsoluteTimeIntervalSince1970()
-
getAbsoluteTimeIntervalSince1904
public static double getAbsoluteTimeIntervalSince1904()
-
getCurrentAbsoluteTime
public static double getCurrentAbsoluteTime()
-
getClassTypeID
public static long getClassTypeID()
-
create
public static CFDate create(CFAllocator allocator, double at)
-
getAbsoluteTime
public double getAbsoluteTime()
-
getTimeIntervalSinceDate
public double getTimeIntervalSinceDate(CFDate otherDate)
-
addGregorianUnitsToAbsoluteTime
@Deprecated public static double addGregorianUnitsToAbsoluteTime(double at, CFTimeZone tz, CFGregorianUnits units)
Deprecated.Deprecated in iOS 8.0. Use CFCalendar or NSCalendar API instead- Since:
- Available in iOS 2.0 and later.
-
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- Since:
- Available in iOS 2.0 and later.
-
getDayOfWeekFromAbsoluteTime
@Deprecated public static int getDayOfWeekFromAbsoluteTime(double at, CFTimeZone tz)
Deprecated.Deprecated in iOS 8.0. Use CFCalendar or NSCalendar API instead- Since:
- Available in iOS 2.0 and later.
-
getDayOfYearFromAbsoluteTime
@Deprecated public static int getDayOfYearFromAbsoluteTime(double at, CFTimeZone tz)
Deprecated.Deprecated in iOS 8.0. Use CFCalendar or NSCalendar API instead- Since:
- Available in iOS 2.0 and later.
-
getWeekOfYearFromAbsoluteTime
@Deprecated public static int getWeekOfYearFromAbsoluteTime(double at, CFTimeZone tz)
Deprecated.Deprecated in iOS 8.0. Use CFCalendar or NSCalendar API instead- Since:
- Available in iOS 2.0 and later.
-
-