[Previous]
[Up]
[Next]
NSCalendarDate
Authors
- Richard Frith-Macdonald
-
Version: $Revision$
Date: $Date$
Declared in: Foundation/NSCalendarDate.h
Inherits from: NSDate
Conforms to: NSCoding
Instance Variables
Methods
Class Methods
+ (id) calendarDate;
+ (id) dateWithString: (NSString*)description calendarFormat: (NSString*)format;
+ (id) dateWithString: (NSString*)description calendarFormat: (NSString*)format;
+ (id) dateWithYear: (int)year month: (unsigned int)month day: (unsigned int)day hour: (unsigned int)hour minute: (unsigned int)minute second: (unsigned int)second timeZone: (NSTimeZone*)aTimeZone;
Instances Methods
- (NSString*) calendarFormat;
- (NSCalendarDate*) dateByAddingYears: (int)year months: (int)month days: (int)day hours: (int)hour minutes: (int)minute seconds: (int)second;
- (int) dayOfCommonEra;
- (int) dayOfMonth;
- (int) dayOfWeek;
- (int) dayOfYear;
- (NSString*) description;
- (NSString*) descriptionWithCalendarFormat: (NSString*)format;
- (NSString*) descriptionWithCalendarFormat: (NSString*)format;
- (NSString*) descriptionWithLocale: (NSDictionary*)locale;
- (int) hourOfDay;
- (id) initWithString: (NSString*)description;
- (id) initWithString: (NSString*)description calendarFormat: (NSString*)format;
- (id) initWithString: (NSString*)description calendarFormat: (NSString*)format;
- (id) initWithYear: (int)year month: (unsigned int)month day: (unsigned int)day hour: (unsigned int)hour minute: (unsigned int)minute second: (unsigned int)second timeZone: (NSTimeZone*)aTimeZone;
- (int) minuteOfHour;
- (int) monthOfYear;
- (int) secondOfMinute;
- (void) setCalendarFormat: (NSString*)format;
- (void) setTimeZone: (NSTimeZone*)aTimeZone;
- (NSTimeZone*) timeZone;
- (int) yearOfCommonEra;
- (void) years: (int*)yearsPointer months: (int*)monthsPointer days: (int*)daysPointer hours: (int*)hoursPointer minutes: (int*)minutesPointer seconds: (int*)secondsPointer sinceDate: (NSCalendarDate*)date;