NSDateComponents

E820432

NSDateComponents is a Foundation framework class in Apple’s platforms that represents the individual components (such as year, month, day, hour, and minute) of a date and time, used for date calculations and calendar operations.

All labels observed (2)

Label Occurrences
NSDateComponents canonical 2
DateComponents 1

How this entity was disambiguated

Statements (48)

Predicate Object
instanceOf Foundation class
Objective-C class
date components type
availableInLanguage Swift
conformsTo NSCopying
NSSecureCoding
definedInFramework Foundation
hasProperty date
isValidDate
isValidDateInCalendar
introducedBy Apple
linked to: Apple Inc.
language Objective-C
primaryPurpose represent individual components of a date and time
relatedTo NSDateComponentsFormatter
NSDateInterval
NSDateIntervalFormatter
supportsComponent calendar
day
era
hour
isLeapMonth
minute
month
nanosecond
quarter
second
timeZone
weekOfMonth
weekOfYear
weekday
weekdayOrdinal
year
yearForWeekOfYear
supportsFeature calendar-aware validation
partial specification of date components
time zone–aware date construction
SwiftName DateComponents
linked to: NSDateComponents
usedFor calendar arithmetic
constructing dates from components
date calculations
extracting components from dates
usedOnPlatform iOS
macOS
tvOS
watchOS
usedWith NSCalendar
NSDate
NSDateFormatter

How these facts were elicited

Referenced by (3)

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

NSDate relatedClass NSDateComponents
NSCalendar relatedClass NSDateComponents
NSDateComponents SwiftName DateComponents
linked to: NSDateComponents