UNPKG

@arcgis/core

Version:

ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API

16 lines (12 loc) 1.15 kB
import type { TimeZone } from "../time/types.js"; /** @since 5.0 */ export type DateFormat = "short-date" | "short-date-short-time" | "short-date-short-time-24" | "short-date-long-time" | "short-date-long-time-24" | "short-date-le" | "short-date-le-short-time" | "short-date-le-short-time-24" | "short-date-le-long-time" | "short-date-le-long-time-24" | "long-month-day-year" | "long-month-day-year-short-time" | "long-month-day-year-short-time-24" | "long-month-day-year-long-time" | "long-month-day-year-long-time-24" | "day-short-month-year" | "day-short-month-year-short-time" | "day-short-month-year-short-time-24" | "day-short-month-year-long-time" | "day-short-month-year-long-time-24" | "long-date" | "long-date-short-time" | "long-date-short-time-24" | "long-date-long-time" | "long-date-long-time-24" | "long-month-year" | "short-month-year" | "year"; /** @since 5.0 */ export type TimeFormat = "short-time" | "long-time"; /** @since 5.0 */ export interface DateTimeFormatOptions extends Intl.DateTimeFormatOptions { /** @since 5.0 */ timeZone?: TimeZone; } /** @since 5.0 */ export type DateProperties = number | string | Date;