All files dateConstants.ts

100% Statements 11/11
100% Branches 0/0
100% Functions 0/0
100% Lines 11/11

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 121x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x  
const oneHour = 60 * 60 * 1000
export const oneDay = 24 * oneHour
export const oneYear = 365 * oneDay
const oneLeapYear = 366 * oneDay
export const fourYears = 3 * oneYear + oneLeapYear
 
export const globalTimeDifference =
  new Date('December 9, 2012').getTime() - new Date('April 1, 2005').getTime()
 
export const minEurDate = new Date(1900, 2, 1)
export const maxEurDate = new Date(2100, 1, 1)