index.ts
This file
Path
examples/datekit/src/index.ts
28 lines · 742 bytes · TypeScript
Last changed by
Not known.
History of this fileTake it
1234567891011121314151617181920212223242526272829/** * datekit: small, dependency-free date helpers. Dates are plain `Date` * instants; datekit reads and shows them in UTC unless you name a time zone. */export { addDays, addHours, addMilliseconds, addMinutes, addMonths, addSeconds, addWeeks, addYears,} from "./add.ts";export { daysInMonth, daysInYear, isLeapYear } from "./calendar.ts";export { diffInCalendarDays, diffInCalendarMonths, diffInDays, diffInHours, diffInMilliseconds, diffInMinutes, diffInSeconds, diffInWeeks,} from "./diff.ts";export { format, ordinal, type FormatOptions } from "./format.ts";export { invalidDate, isValid, parseISO } from "./parse.ts";export { isTimeZone, offsetIn, type ZonedParts, zonedParts } from "./tz.ts";