Returns the lowercase name of the weekday.
Weekday name: 'monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday', or 'sunday'
Returns the difference between this CalendarDate and another in the specified unit(s).
CalendarDate to compare against
Optionalunit: UUnit or units to return (years, quarters, months, weeks, days)
Object with only the specified units (or all units if not specified)
Returns the difference between this CalendarDate and today in the specified unit(s).
Optionalunit: UUnit or units to return (years, quarters, months, weeks, days)
Object with only the specified units (or all units if not specified)
Returns a new CalendarDate at the end of the given period.
Unit to extend to end of ('year', 'quarter', 'month', 'week', or 'day')
A CalendarDate at the end of the period
Returns true if this CalendarDate equals another CalendarDate.
CalendarDate to compare
true if dates are equal
Returns true if this and other are in the same unit of time.
CalendarDate to compare against
Unit to check ('year', 'quarter', 'month', 'week', or 'day')
true if same period
Returns a new CalendarDate with the given duration subtracted.
Duration to subtract (object with years, months, weeks, days, etc.)
A new CalendarDate
Returns a new CalendarDate with the given duration added.
Duration to add (object with years, months, weeks, days, etc.)
A new CalendarDate
Returns a new CalendarDate with the given date units set.
Object with date units to set (year, month, day)
A new CalendarDate
Returns a new CalendarDate at the start of the given period.
Unit to truncate to ('year', 'quarter', 'month', 'week', or 'day')
A CalendarDate at the start of the period
Returns the underlying DateTime instance (at midnight UTC).
A DateTime representing this date at 00:00:00 UTC
Returns a localized string representation of the date.
OptionalformatOpts: DateTimeFormatOptionsIntl.DateTimeFormat options for formatting
Optionalopts: LocaleOptionsOptional locale options
Localized date string
StaticfromCreate a CalendarDate from a DateTime instance.
A DateTime instance
A CalendarDate for the date portion of the DateTime
StaticfromCreate a CalendarDate from a custom format string. Uses Luxon format tokens (e.g., 'MM/dd/yyyy', 'MMMM dd, yyyy').
The string to parse
Format string using Luxon tokens
Optionalopts: DateTimeOptionsA CalendarDate for the parsed date
StaticfromCreate a CalendarDate from an ISO 8601 date string.
ISO date string (e.g., '2026-02-07')
A CalendarDate for the given date
StaticfromCreate a CalendarDate from a JavaScript Date.
A JavaScript Date instance
A CalendarDate for the date portion
StaticfromCreate a CalendarDate from an object with date units.
Object with year, month, day properties
Optionalopts: DateTimeJSOptionsOptional zone/locale options
A CalendarDate for the given components
StaticfromCreate a CalendarDate from an SQL date string.
SQL date string (e.g., '2026-02-07')
A CalendarDate for the given date
StaticmaxReturns the latest CalendarDate from the given arguments.
CalendarDates to compare
The latest CalendarDate
StaticminReturns the earliest CalendarDate from the given arguments.
CalendarDates to compare
The earliest CalendarDate
StatictodayReturns a CalendarDate for today's date.
Optionalopts: { zone?: string | Zone }A CalendarDate for today
StatictomorrowReturns a CalendarDate for tomorrow's date.
Optional zone (defaults to UTC)
A CalendarDate for tomorrow
StaticyesterdayReturns a CalendarDate for yesterday's date.
Optional zone (defaults to UTC)
A CalendarDate for yesterday
CalendarDate represents a date without time or timezone information.