NSDateFormatter
E820434
NSDateFormatter is a Foundation framework class in Apple’s platforms used to convert between NSDate objects and their string representations according to specified date and time formats and locales.
All labels observed (1)
| Label | Occurrences |
|---|---|
| NSDateFormatter canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T9761750 — 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: NSDateFormatter Context triple: [NSDate, relatedClass, NSDateFormatter]
-
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.
ISO 8601
ISO 8601 is an international standard that defines a consistent, unambiguous format for representing dates, times, and related data in numeric form.
-
C.
java.text
java.text is a Java standard library package that provides classes and interfaces for formatting and parsing text, dates, numbers, and messages in a locale-sensitive manner.
-
D.
Unicode CLDR
Unicode CLDR is a standardized, collaboratively maintained repository of locale data that underpins internationalization and localization features in software and digital platforms worldwide.
-
E.
MessageFormat.js
MessageFormat.js is a JavaScript library for internationalization that enables complex message formatting with pluralization, gender, and other locale-specific variations.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Target entity: NSDateFormatter Target entity description: NSDateFormatter is a Foundation framework class in Apple’s platforms used to convert between NSDate objects and their string representations according to specified date and time formats and locales.
-
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.
ISO 8601
ISO 8601 is an international standard that defines a consistent, unambiguous format for representing dates, times, and related data in numeric form.
-
C.
java.text
java.text is a Java standard library package that provides classes and interfaces for formatting and parsing text, dates, numbers, and messages in a locale-sensitive manner.
-
D.
Unicode CLDR
Unicode CLDR is a standardized, collaboratively maintained repository of locale data that underpins internationalization and localization features in software and digital platforms worldwide.
-
E.
MessageFormat.js
MessageFormat.js is a JavaScript library for internationalization that enables complex message formatting with pluralization, gender, and other locale-specific variations.
- F. None of above. chosen
Statements (50)
| Predicate | Object |
|---|---|
| instanceOf |
Foundation class
ⓘ
Objective-C class ⓘ date formatter ⓘ |
| bridgedTo | Swift DateFormatter NERFINISHED ⓘ |
| framework | Foundation NERFINISHED ⓘ |
| hasMethod |
dateFromString:
ⓘ
setDateFormat: ⓘ setDateStyle: ⓘ setLocale: ⓘ setTimeStyle: ⓘ setTimeZone: ⓘ stringFromDate: ⓘ |
| hasProperty |
calendar
ⓘ
dateFormat ⓘ dateStyle ⓘ doesRelativeDateFormatting ⓘ generatesCalendarDates ⓘ lenient ⓘ locale ⓘ timeStyle ⓘ timeZone ⓘ |
| introducedIn |
iOS 2.0
NERFINISHED
ⓘ
macOS 10.0 ⓘ |
| language | Objective-C NERFINISHED ⓘ |
| module | Foundation.framework NERFINISHED ⓘ |
| platform |
iOS
ⓘ
macOS ⓘ tvOS NERFINISHED ⓘ watchOS NERFINISHED ⓘ |
| purpose |
convert NSDate to string
ⓘ
convert string to NSDate ⓘ |
| superclass | NSFormatter NERFINISHED ⓘ |
| supports |
ISO 8601-like formats (via patterns)
ⓘ
calendar customization ⓘ custom format strings ⓘ date and time formatting ⓘ date formatting ⓘ format templates ⓘ internationalization ⓘ lenient parsing ⓘ locale customization ⓘ localization ⓘ predefined date styles ⓘ predefined time styles ⓘ relative date formatting ⓘ time formatting ⓘ time zone customization ⓘ |
| threadSafety | not thread-safe ⓘ |
| usageRecommendation |
avoid creating new instances repeatedly
ⓘ
reuse instances for performance ⓘ |
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: NSDateFormatter Description of subject: NSDateFormatter is a Foundation framework class in Apple’s platforms used to convert between NSDate objects and their string representations according to specified date and time formats and locales.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.