1.4.2 • Published 1 year ago

tzdateutils v1.4.2

Weekly downloads
50
License
MIT
Repository
github
Last release
1 year ago

Exported API

export function isValidDate(date) {...}
export function getWeek(date) {...}
export function getWeekYear(date) {...}
export function getISODateString(date, separator) {...}
export function getTimeString(date) {...}
export function getISODay(date) {...}
export function getDaysFrom(date, from) {...}
export function getTotalDaysInMonth(date) {...}
export function withParsedISODate(date, str) {...}
export function getEpoch(date) {...}
export function addSeconds(date, seconds) {...}
export function addDays(date, days) {...}
export function addMonths(date, months) {...}
export function addYears(date, years) {...}
export function addHours(date, h) {...}
export function addMinutes(date, m) {...}
export function toStartOfDay(date) {...}
export function toEndOfDay(date) {...}
export function firstDayOfWeek(date) {...}
export function lastDayOfWeek(date) {...}
export function firstDayOfMonth(date) {...}
export function lastDayOfMonth(date) {...}
/**
 * Copy time from `other` date to date while
 * preserving year, month and day.
 */
export function withTime(date, other) {...}
export function withSeconds(date, seconds) {
export function withParsedTime(date, time) {...}
export function firstTimeAfter(date, other) {...}
export function print_duration(timestamp) {...}
export function print_duration_long(timestamp) {...}
/**
 * return duration with seconds
 */
export function print_duration_full(timestamp) {...}
export function parseISODateTime(t) {...}
export function parseISODate(d) {...}
1.4.2

1 year ago

1.4.1

4 years ago

1.4.0

4 years ago

1.3.2

4 years ago

1.3.0

5 years ago

1.2.4

5 years ago

1.2.3

5 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago