Constructors
constructor
- new MMWRDate(year: number, week?: number, day?: number): MMWRDate
-
Parameters
-
year: number
-
Optional week: number
-
Optional day: number
Properties
Optional week
week: number
Accessors
startMomentDate
startMomentDate:
Methods
applyWeekDiff
- applyWeekDiff(delta: number): void
diffWeek
-
Parameters
Returns number
fromEpiweek
- fromEpiweek(epiweek: Epiweek): void
fromJSDate
- fromJSDate(date?: Date): void
-
Parameters
-
Default value date: Date = (new Date())
Returns void
fromMomentDate
- fromMomentDate(date?: Moment): void
-
Parameters
-
Default value date: Moment = moment()
Returns void
Class representing an MMWR date