0
Fork 0
mirror of https://github.com/TanStack/time.git synced 2026-11-16 19:09:47 +00:00
time/docs/reference/interfaces/DateParts.md
2026-08-21 10:44:34 +00:00

2.9 KiB

id title
DateParts DateParts

Interface: DateParts

Defined in: date/getDateParts/getDateParts.ts:8

Properties

calendar

calendar: string;

Defined in: date/getDateParts/getDateParts.ts:9


day

day: number;

Defined in: date/getDateParts/getDateParts.ts:15


dayOfMonth

dayOfMonth: string;

Defined in: date/getDateParts/getDateParts.ts:18


isLeapMonth

isLeapMonth: boolean;

Defined in: date/getDateParts/getDateParts.ts:16


month

month: number;

Defined in: date/getDateParts/getDateParts.ts:13


monthCode

monthCode: string;

Defined in: date/getDateParts/getDateParts.ts:14


monthLong

monthLong: string;

Defined in: date/getDateParts/getDateParts.ts:22


monthShort

monthShort: string;

Defined in: date/getDateParts/getDateParts.ts:21


weekdayLong

weekdayLong: string;

Defined in: date/getDateParts/getDateParts.ts:20


weekdayShort

weekdayShort: string;

Defined in: date/getDateParts/getDateParts.ts:19


year

year: number;

Defined in: date/getDateParts/getDateParts.ts:12

Temporal-backed. Read lazily: non-ISO calendar support depends on the runtime.


yearLabel

yearLabel: string;

Defined in: date/getDateParts/getDateParts.ts:23


yearName?

optional yearName: string;

Defined in: date/getDateParts/getDateParts.ts:24