Circle V2 API Docs
Preparing search index...
@repo/utils
time
Module time
Classes
PrecisionDate
Week
Type Aliases
DateOnlyFormatKey
DatePrecision
DayOrInstant
DeclaredPrecision
FormatDateOnlyOptions
FormatTimestampOptions
Interval
TimeOffset
TimeZoneOption
WeekStart
WindowPosition
Variables
DEFAULT_FACILITY_TIME_ZONE
MS_PER_DAY
MS_PER_HOUR
MS_PER_MINUTE
MS_PER_SECOND
TIME_ZONE_OPTIONS
Functions
dateStringToCalendarDate
dateValueToString
formatDateOnly
formatDateRangeLabel
formatDateValue
formatHour
formatSecondsDuration
formatTimestamp
hasExplicitTimezone
hoursOrDaysToSeconds
intervalToSeconds
isValidTimeZone
locateInWindow
maybeDate
nextBusinessDay
parseDayOrInstant
parsePrecisionDate
secondsToHoursOrDays
secondsToInterval
secondsToTimeOffset
timeOffsetToSeconds
timeZoneAbbreviation
toEndOfDayUTC
toFacilityTimeZone
toLocalMidnightISO
toMs
toNextDayLocalMidnightISO
toStartOfDayUTC
toZonedDay
toZonedDayStartISO
toZonedNextDayStartISO
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Classes
Precision
Date
Week
Type Aliases
Date
Only
Format
Key
Date
Precision
Day
Or
Instant
Declared
Precision
Format
Date
Only
Options
Format
Timestamp
Options
Interval
Time
Offset
Time
Zone
Option
Week
Start
Window
Position
Variables
DEFAULT_
FACILITY_
TIME_
ZONE
MS_
PER_
DAY
MS_
PER_
HOUR
MS_
PER_
MINUTE
MS_
PER_
SECOND
TIME_
ZONE_
OPTIONS
Functions
date
String
To
Calendar
Date
date
Value
To
String
format
Date
Only
format
Date
Range
Label
format
Date
Value
format
Hour
format
Seconds
Duration
format
Timestamp
has
Explicit
Timezone
hours
Or
Days
To
Seconds
interval
To
Seconds
is
Valid
Time
Zone
locate
In
Window
maybe
Date
next
Business
Day
parse
Day
Or
Instant
parse
Precision
Date
seconds
To
Hours
Or
Days
seconds
To
Interval
seconds
To
Time
Offset
time
Offset
To
Seconds
time
Zone
Abbreviation
to
End
Of
Day
UTC
to
Facility
Time
Zone
to
Local
Midnight
ISO
to
Ms
to
Next
Day
Local
Midnight
ISO
to
Start
Of
Day
UTC
to
Zoned
Day
to
Zoned
Day
Start
ISO
to
Zoned
Next
Day
Start
ISO
Circle V2 API Docs
Loading...