// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { DatetimeMonthPart } from "./DatetimeMonthPart.d.ts"; import type { DatetimeNumericPart } from "./DatetimeNumericPart.d.ts"; import type { DatetimeTextPart } from "./DatetimeTextPart.d.ts"; import type { FractionalSecondDigits } from "./FractionalSecondDigits.d.ts"; import type { SimpleDatetimeFormat } from "./SimpleDatetimeFormat.d.ts"; /** * A datetime column's `date_format`, a subset of `Intl.DateTimeFormatOptions` * whose display fields inherit as one group and whose `timeZone` and `hour12` * inherit individually. */ export type DatetimeFormat = { /** * An IANA time zone name such as `"America/New_York"`. */ timeZone?: string, /** * Whether hours use a 12-hour clock. */ hour12?: boolean, /** * The date preset, which excludes every per-part field. */ dateStyle?: SimpleDatetimeFormat, /** * The time preset, which excludes every per-part field. */ timeStyle?: SimpleDatetimeFormat, /** * The weekday's form. */ weekday?: DatetimeTextPart, /** * The year's form. */ year?: DatetimeNumericPart, /** * The month's form. */ month?: DatetimeMonthPart, /** * The day's form. */ day?: DatetimeNumericPart, /** * The hour's form. */ hour?: DatetimeNumericPart, /** * The minute's form. */ minute?: DatetimeNumericPart, /** * The second's form. */ second?: DatetimeNumericPart, /** * Sub-second digits shown. */ fractionalSecondDigits?: FractionalSecondDigits, };