site/node_modules/d3-time/src/duration.js
2024-10-14 08:09:33 +02:00

8 lines
321 B
JavaScript

export const durationSecond = 1000;
export const durationMinute = durationSecond * 60;
export const durationHour = durationMinute * 60;
export const durationDay = durationHour * 24;
export const durationWeek = durationDay * 7;
export const durationMonth = durationDay * 30;
export const durationYear = durationDay * 365;