Package org.robovm.apple.corefoundation
Class CFCalendar
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.apple.corefoundation.CFType
-
- org.robovm.apple.corefoundation.CFCalendar
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class CFCalendar extends CFType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CFCalendar.CFCalendarPtr
-
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
CFCalendar()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static CFCalendar
create(CFAllocator allocator, CFCalendarIdentifier identifier)
static CFCalendar
create(CFCalendarIdentifier identifier)
static long
getClassTypeID()
static CFCalendar
getCurrent()
double
getDurationOfUnit(CFCalendarUnit unit, double at)
long
getFirstWeekday()
CFCalendarIdentifier
getIdentifier()
CFLocale
getLocale()
CFRange
getMaximumRangeOfUnit(CFCalendarUnit unit)
long
getMinimumDaysInFirstWeek()
CFRange
getMinimumRangeOfUnit(CFCalendarUnit unit)
long
getOrdinalityOfUnit(CFCalendarUnit smallerUnit, CFCalendarUnit biggerUnit, double at)
CFRange
getRangeOfUnit(CFCalendarUnit smallerUnit, CFCalendarUnit biggerUnit, double at)
double
getStartTimeOfUnit(CFCalendarUnit unit, double at)
CFTimeZone
getTimeZone()
void
setFirstWeekday(long wkdy)
void
setLocale(CFLocale locale)
void
setMinimumDaysInFirstWeek(long mwd)
void
setTimeZone(CFTimeZone tz)
-
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 CFCalendar create(CFCalendarIdentifier identifier)
-
getStartTimeOfUnit
public double getStartTimeOfUnit(CFCalendarUnit unit, double at)
- Since:
- Available in iOS 2.0 and later.
-
getDurationOfUnit
public double getDurationOfUnit(CFCalendarUnit unit, double at)
- Since:
- Available in iOS 2.0 and later.
-
getClassTypeID
public static long getClassTypeID()
-
getCurrent
public static CFCalendar getCurrent()
-
create
protected static CFCalendar create(CFAllocator allocator, CFCalendarIdentifier identifier)
-
getIdentifier
public CFCalendarIdentifier getIdentifier()
-
getLocale
public CFLocale getLocale()
-
setLocale
public void setLocale(CFLocale locale)
-
getTimeZone
public CFTimeZone getTimeZone()
-
setTimeZone
public void setTimeZone(CFTimeZone tz)
-
getFirstWeekday
public long getFirstWeekday()
-
setFirstWeekday
public void setFirstWeekday(long wkdy)
-
getMinimumDaysInFirstWeek
public long getMinimumDaysInFirstWeek()
-
setMinimumDaysInFirstWeek
public void setMinimumDaysInFirstWeek(long mwd)
-
getMinimumRangeOfUnit
public CFRange getMinimumRangeOfUnit(CFCalendarUnit unit)
-
getMaximumRangeOfUnit
public CFRange getMaximumRangeOfUnit(CFCalendarUnit unit)
-
getRangeOfUnit
public CFRange getRangeOfUnit(CFCalendarUnit smallerUnit, CFCalendarUnit biggerUnit, double at)
-
getOrdinalityOfUnit
public long getOrdinalityOfUnit(CFCalendarUnit smallerUnit, CFCalendarUnit biggerUnit, double at)
-
-