Package org.robovm.apple.corefoundation
Class CFGregorianDate
- All Implemented Interfaces:
Iterable<CFGregorianDate>
public class CFGregorianDate extends Struct<CFGregorianDate>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCFGregorianDate.CFGregorianDatePtrNested classes/interfaces inherited from class org.robovm.rt.bro.Struct
Struct.Marshaler -
Constructor Summary
Constructors Constructor Description CFGregorianDate()CFGregorianDate(int year, byte month, byte day, byte hour, byte minute, double second) -
Method Summary
Modifier and Type Method Description static CFGregorianDatefromAbsoluteTime(double at, CFTimeZone tz)Deprecated.Deprecated in iOS 8.0.doublegetAbsoluteTime(CFTimeZone tz)Deprecated.Deprecated in iOS 8.0.bytegetDay()bytegetHour()bytegetMinute()bytegetMonth()doublegetSecond()intgetYear()booleanisValid(CFGregorianUnitFlags unitFlags)Deprecated.Deprecated in iOS 8.0.CFGregorianDatesetDay(byte day)CFGregorianDatesetHour(byte hour)CFGregorianDatesetMinute(byte minute)CFGregorianDatesetMonth(byte month)CFGregorianDatesetSecond(double second)CFGregorianDatesetYear(int year)Methods inherited from class org.robovm.rt.bro.Struct
_sizeOf, allocate, allocate, as, clear, clear, copy, copy, copyWithMalloc, copyWithMalloc, free, iterator, iterator, malloc, malloc, next, next, offsetOf, previous, previous, sizeOf, sizeOf, toArray, toList, toStruct, update, update, update, wrapMethods inherited from class org.robovm.rt.bro.NativeObject
equals, getHandle, hashCode, setHandle
-
Constructor Details
-
CFGregorianDate
public CFGregorianDate() -
CFGregorianDate
public CFGregorianDate(int year, byte month, byte day, byte hour, byte minute, double second)
-
-
Method Details
-
getYear
public int getYear() -
setYear
-
getMonth
public byte getMonth() -
setMonth
-
getDay
public byte getDay() -
setDay
-
getHour
public byte getHour() -
setHour
-
getMinute
public byte getMinute() -
setMinute
-
getSecond
public double getSecond() -
setSecond
-
isValid
Deprecated.Deprecated in iOS 8.0. Use CFCalendar or NSCalendar API instead -
getAbsoluteTime
Deprecated.Deprecated in iOS 8.0. Use CFCalendar or NSCalendar API instead -
fromAbsoluteTime
Deprecated.Deprecated in iOS 8.0. Use CFCalendar or NSCalendar API instead
-