NSCalendar

E820431

NSCalendar is an Objective-C Foundation framework class that provides an interface for working with dates and times according to different calendar systems, enabling operations like date calculation, comparison, and component extraction.

All labels observed (1)

Label Occurrences
NSCalendar canonical 4

How this entity was disambiguated

Statements (72)

Predicate Object
instanceOf Foundation class
Objective-C class
calendar API
conformsTo NSCopying
NSSecureCoding
framework Foundation framework
hasClassMethod + autoupdatingCurrentCalendar
+ calendarWithIdentifier:
+ currentCalendar
hasMethod - component:fromDate:
- components:fromDate:
- components:fromDate:toDate:options:
- dateByAddingComponents:toDate:options:
- dateBySettingUnit:value:ofDate:options:
- dateFromComponents:
- isDate:inSameDayAsDate:
- isDateInToday:
- isDateInTomorrow:
- isDateInYesterday:
- nextDateAfterDate:matchingComponents:options:
- nextDateAfterDate:matchingHour:minute:second:options:
- nextDateAfterDate:matchingUnit:value:options:
- ordinalityOfUnit:inUnit:forDate:
- rangeOfUnit:inUnit:forDate:
hasProperty AMSymbol
PMSymbol
calendarIdentifier
eraSymbols
firstWeekday
locale
longEraSymbols
minimumDaysInFirstWeek
monthSymbols
quarterSymbols
shortMonthSymbols
shortQuarterSymbols
shortWeekdaySymbols
timeZone
veryShortWeekdaySymbols
weekdaySymbols
headerFile Foundation/NSCalendar.h
introducedIn Mac OS X 10.3
platform Apple platforms
iOS
macOS
tvOS
watchOS
programmingLanguage Objective-C
purpose calendar-based date comparison
date and time calculations
date component extraction
relatedClass NSDate
NSDateComponents
NSLocale
NSTimeZone
superclass NSObject
supports Buddhist calendar
Chinese calendar
Coptic calendar
Ethiopic calendar
linked to: Ethiopian calendar

Gregorian calendar
Hebrew calendar
ISO 8601 calendar
Indian national calendar
Islamic calendar
linked to: Hijri calendar

Japanese calendar
Persian calendar
linked to: Jalali calendar

Republic of China calendar
multiple calendar systems
usedFor computing date intervals
localizing date operations to user settings
scheduling events

How these facts were elicited

Referenced by (4)

Full triples — surface form annotated when it differs from this entity's canonical label.

NSDate relatedClass NSCalendar
Foundation includesType NSCalendar
NSDateComponents usedWith NSCalendar
NSTimeZone usedWith NSCalendar