8 #include <picofuse/sys.h> 75 + (
id)dateWithYear:(uint16_t)year month:(uint8_t)month day:(uint8_t)day;
86 + (
id)dateWithYear:(uint16_t)year
90 minutes:(uint8_t)minutes
135 - (
id)initWithYear:(uint16_t)year
139 minutes:(uint8_t)minutes
168 - (
NXDate *)dateWithTimeZoneOffset:(int32_t)offset;
195 - (
BOOL)isEqual:(
id)anObject;
211 - (
BOOL)year:(uint16_t *)year
212 month:(uint8_t *)month
214 weekday:(uint8_t *)weekday;
226 - (
BOOL)localYear:(uint16_t *)year
227 month:(uint8_t *)month
229 weekday:(uint8_t *)weekday;
235 - (
BOOL)localHours:(uint8_t *)hours
236 minutes:(uint8_t *)minutes
int32_t timeZoneOffset()
Returns the offset of the time zone, in seconds east of UTC.
Defines the NXDuration type, and constants for units of time.
uintptr_t hash()
Returns a hash of the moment, which is the same for equal dates, whatever their time zones...
int64_t seconds()
Returns the number of whole seconds since 1970-01-01 in UTC, which is negative before then...
int64_t NXDuration
A length of time, in nanoseconds, which may be negative.
NXString * description()
Returns the date in ISO 8601, such as "2026-09-06T11:37:05Z", or nil if the year isn't from 0 to 6553...
id init()
Initializes the current date.
"Sun, 06 Sep 2026 11:37:05 GMT", as in HTTP, always in UTC
int32_t nanoseconds()
Returns the nanoseconds after the seconds, from zero to 999999999.
A date and time, to the nanosecond, with the offset of a time zone.
NXComparisonResult
The order of two objects.
bool BOOL
A Boolean value.
NXDateFormat
Ways of writing a date.
"2026-09-06 11:37:05", always in UTC
Defines the NXComparisonResult type, for the result of a comparison.
The base class for objects in the Foundation framework.
struct objc_object * id
A pointer to an instance of a class.
"2026-09-06T11:37:05Z", or with an offset such as "+01:00"
id date()
Returns the current date, or nil if the clock can't be read.