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 (1)
| Label | Occurrences |
|---|---|
| NSDateComponents canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T9761748 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
Target entity: NSDateComponents Context triple: [NSDate, relatedClass, NSDateComponents]
-
A.
NSDate
NSDate is an Objective-C class in Apple’s Foundation framework that represents a specific point in time for use in macOS and iOS applications.
-
B.
Tomohiko Sakamoto’s algorithm
Tomohiko Sakamoto’s algorithm is a compact, table-based method for calculating the day of the week for any given date in the Gregorian calendar.
-
C.
Long Count calendar
The Long Count calendar is an ancient Mesoamerican timekeeping system, most notably used by the Maya, that tracks days in a linear count from a mythological starting point to record historical and cosmological events.
-
D.
ISO 8601
ISO 8601 is an international standard that defines a consistent, unambiguous format for representing dates, times, and related data in numeric form.
-
E.
Zeller’s congruence
Zeller’s congruence is a mathematical formula used to determine the day of the week for any given date in the Gregorian or Julian calendar.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Target entity: NSDateComponents Target entity description: 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.
-
A.
NSDate
NSDate is an Objective-C class in Apple’s Foundation framework that represents a specific point in time for use in macOS and iOS applications.
-
B.
Tomohiko Sakamoto’s algorithm
Tomohiko Sakamoto’s algorithm is a compact, table-based method for calculating the day of the week for any given date in the Gregorian calendar.
-
C.
Long Count calendar
The Long Count calendar is an ancient Mesoamerican timekeeping system, most notably used by the Maya, that tracks days in a linear count from a mythological starting point to record historical and cosmological events.
-
D.
ISO 8601
ISO 8601 is an international standard that defines a consistent, unambiguous format for representing dates, times, and related data in numeric form.
-
E.
Zeller’s congruence
Zeller’s congruence is a mathematical formula used to determine the day of the week for any given date in the Gregorian or Julian calendar.
- F. None of above. chosen
Statements (48)
| Predicate | Object |
|---|---|
| instanceOf |
Foundation class
ⓘ
Objective-C class ⓘ date components type ⓘ |
| availableInLanguage | Swift NERFINISHED ⓘ |
| conformsTo |
NSCopying
NERFINISHED
ⓘ
NSSecureCoding NERFINISHED ⓘ |
| definedInFramework | Foundation NERFINISHED ⓘ |
| hasProperty |
date
ⓘ
isValidDate ⓘ isValidDateInCalendar ⓘ |
| introducedBy | Apple NERFINISHED ⓘ |
| language | Objective-C NERFINISHED ⓘ |
| primaryPurpose | represent individual components of a date and time ⓘ |
| relatedTo |
NSDateComponentsFormatter
NERFINISHED
ⓘ
NSDateInterval ⓘ NSDateIntervalFormatter NERFINISHED ⓘ |
| 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 NERFINISHED ⓘ |
| usedFor |
calendar arithmetic
ⓘ
constructing dates from components ⓘ date calculations ⓘ extracting components from dates ⓘ |
| usedOnPlatform |
iOS
NERFINISHED
ⓘ
macOS NERFINISHED ⓘ tvOS NERFINISHED ⓘ watchOS NERFINISHED ⓘ |
| usedWith |
NSCalendar
NERFINISHED
ⓘ
NSDate NERFINISHED ⓘ NSDateFormatter ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Subject: NSDateComponents Description of subject: 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.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.