All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.core.CalendarDate

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.core.Date
                   |
                   +----com.apple.alpha.core.CalendarDate

public class CalendarDate
extends Date
This class wraps the Objective-C class NSCalendarDate.


Constructor Index

 o CalendarDate()
This default constructor is equivalent to Objective-C's [[NSCalendarDate alloc] init].
 o CalendarDate(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.
 o CalendarDate(Coder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.
 o CalendarDate(double)
This constructor has the same effect as calling - initWithTimeIntervalSinceReferenceDate: on a newly allocated object.
 o CalendarDate(int, int, int, int, int, int, TimeZone)
This constructor has the same effect as calling - initWithYear:month:day:hour:minute:second:timeZone: on a newly allocated object.
 o CalendarDate(String)
This constructor has the same effect as calling - initWithString: on a newly allocated object.
 o CalendarDate(String, String)
This constructor has the same effect as calling - initWithString:calendarFormat: on a newly allocated object.
 o CalendarDate(String, String, Dictionary)
This constructor has the same effect as calling - initWithString:calendarFormat:locale: on a newly allocated object.

Method Index

 o calendarDate()
A wrapper for the + calendarDate Objective-C class method.
 o calendarFormat()
A wrapper for the - calendarFormat Objective-C instance method.
 o dateByAddingTimeUnits(int, int, int, int, int, int)
A wrapper for the - dateByAddingYears:months:days:hours:minutes:seconds: Objective-C instance method.
 o dateWithStringInCalendarFormat(String, String)
A wrapper for the + dateWithString:calendarFormat: Objective-C class method.
 o dateWithStringInCalendarFormatAndLocale(String, String, Dictionary)
A wrapper for the + dateWithString:calendarFormat:locale: Objective-C class method.
 o dateWithYearMonthDayHourMinuteSecondTimeZone(int, int, int, int, int, int, TimeZone)
A wrapper for the + dateWithYear:month:day:hour:minute:second:timeZone: Objective-C class method.
 o dayOfCommonEra()
A wrapper for the - dayOfCommonEra Objective-C instance method.
 o dayOfMonth()
A wrapper for the - dayOfMonth Objective-C instance method.
 o dayOfWeek()
A wrapper for the - dayOfWeek Objective-C instance method.
 o dayOfYear()
A wrapper for the - dayOfYear Objective-C instance method.
 o descriptionWithCalendarFormat(String)
A wrapper for the - descriptionWithCalendarFormat: Objective-C instance method.
 o descriptionWithCalendarFormatAndLocale(String, Dictionary)
A wrapper for the - descriptionWithCalendarFormat:locale: Objective-C instance method.
 o descriptionWithLocale(Dictionary)
A wrapper for the - descriptionWithLocale: Objective-C instance method.
 o hourOfDay()
A wrapper for the - hourOfDay Objective-C instance method.
 o minuteOfHour()
A wrapper for the - minuteOfHour Objective-C instance method.
 o monthOfYear()
A wrapper for the - monthOfYear Objective-C instance method.
 o secondOfMinute()
A wrapper for the - secondOfMinute Objective-C instance method.
 o setCalendarFormat(String)
A wrapper for the - setCalendarFormat: Objective-C instance method.
 o setTimeZone(TimeZone)
A wrapper for the - setTimeZone: Objective-C instance method.
 o toString()
A wrapper for the - description Objective-C instance method.
 o yearOfCommonEra()
A wrapper for the - yearOfCommonEra Objective-C instance method.

Constructors

 o CalendarDate
 protected CalendarDate(boolean shouldAllocate,
                        int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o CalendarDate
 public CalendarDate()
This default constructor is equivalent to Objective-C's [[NSCalendarDate alloc] init].

 o CalendarDate
 public CalendarDate(Coder aDecoder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.

 o CalendarDate
 public CalendarDate(int year,
                     int month,
                     int day,
                     int hour,
                     int minute,
                     int second,
                     TimeZone aTimeZone)
This constructor has the same effect as calling - initWithYear:month:day:hour:minute:second:timeZone: on a newly allocated object.

 o CalendarDate
 public CalendarDate(String description)
This constructor has the same effect as calling - initWithString: on a newly allocated object.

 o CalendarDate
 public CalendarDate(String description,
                     String format)
This constructor has the same effect as calling - initWithString:calendarFormat: on a newly allocated object.

 o CalendarDate
 public CalendarDate(String description,
                     String format,
                     Dictionary dict)
This constructor has the same effect as calling - initWithString:calendarFormat:locale: on a newly allocated object.

 o CalendarDate
 public CalendarDate(double ti)
This constructor has the same effect as calling - initWithTimeIntervalSinceReferenceDate: on a newly allocated object.

Methods

 o dateWithYearMonthDayHourMinuteSecondTimeZone
 public static native Object dateWithYearMonthDayHourMinuteSecondTimeZone(int year,
                                                                          int month,
                                                                          int day,
                                                                          int hour,
                                                                          int minute,
                                                                          int second,
                                                                          TimeZone aTimeZone)
A wrapper for the + dateWithYear:month:day:hour:minute:second:timeZone: Objective-C class method.

 o dateWithStringInCalendarFormat
 public static native Object dateWithStringInCalendarFormat(String description,
                                                            String format)
A wrapper for the + dateWithString:calendarFormat: Objective-C class method.

 o dateWithStringInCalendarFormatAndLocale
 public static native Object dateWithStringInCalendarFormatAndLocale(String description,
                                                                     String format,
                                                                     Dictionary dict)
A wrapper for the + dateWithString:calendarFormat:locale: Objective-C class method.

 o calendarDate
 public static native Object calendarDate()
A wrapper for the + calendarDate Objective-C class method.

 o setTimeZone
 public native void setTimeZone(TimeZone aTimeZone)
A wrapper for the - setTimeZone: Objective-C instance method.

 o calendarFormat
 public native String calendarFormat()
A wrapper for the - calendarFormat Objective-C instance method.

 o setCalendarFormat
 public native void setCalendarFormat(String format)
A wrapper for the - setCalendarFormat: Objective-C instance method.

 o yearOfCommonEra
 public native int yearOfCommonEra()
A wrapper for the - yearOfCommonEra Objective-C instance method.

 o monthOfYear
 public native int monthOfYear()
A wrapper for the - monthOfYear Objective-C instance method.

 o dayOfMonth
 public native int dayOfMonth()
A wrapper for the - dayOfMonth Objective-C instance method.

 o dayOfWeek
 public native int dayOfWeek()
A wrapper for the - dayOfWeek Objective-C instance method.

 o dayOfYear
 public native int dayOfYear()
A wrapper for the - dayOfYear Objective-C instance method.

 o dayOfCommonEra
 public native int dayOfCommonEra()
A wrapper for the - dayOfCommonEra Objective-C instance method.

 o hourOfDay
 public native int hourOfDay()
A wrapper for the - hourOfDay Objective-C instance method.

 o minuteOfHour
 public native int minuteOfHour()
A wrapper for the - minuteOfHour Objective-C instance method.

 o secondOfMinute
 public native int secondOfMinute()
A wrapper for the - secondOfMinute Objective-C instance method.

 o dateByAddingTimeUnits
 public native CalendarDate dateByAddingTimeUnits(int year,
                                                  int month,
                                                  int day,
                                                  int hour,
                                                  int minute,
                                                  int second)
A wrapper for the - dateByAddingYears:months:days:hours:minutes:seconds: Objective-C instance method.

 o toString
 public native String toString()
A wrapper for the - description Objective-C instance method.

Overrides:
toString in class NativeObject
 o descriptionWithLocale
 public native String descriptionWithLocale(Dictionary locale)
A wrapper for the - descriptionWithLocale: Objective-C instance method.

 o descriptionWithCalendarFormat
 public native String descriptionWithCalendarFormat(String format)
A wrapper for the - descriptionWithCalendarFormat: Objective-C instance method.

 o descriptionWithCalendarFormatAndLocale
 public native String descriptionWithCalendarFormatAndLocale(String format,
                                                             Dictionary locale)
A wrapper for the - descriptionWithCalendarFormat:locale: Objective-C instance method.


All Packages  Class Hierarchy  This Package  Previous  Next  Index