Encodes an ExifDate

Constructors

Properties

day: number
month: number
rawValue?: string
year: number

Methods

  • Returns {
        _ctor: string;
        day: number;
        month: number;
        rawValue: undefined | string;
        year: number;
    }

    • _ctor: string
    • day: number
    • month: number
    • rawValue: undefined | string
    • year: number
  • Parameters

    • deltaMs: number = ...

      defaults to 12 hours, so toMillis() is in the middle of the day.

    Returns number

    the epoch milliseconds for this day in UTC, plus deltaMs milliseconds.

  • Parameters

    • json: {
          _ctor: string;
          day: number;
          month: number;
          rawValue: undefined | string;
          year: number;
      }
      • _ctor: string
      • day: number
      • month: number
      • rawValue: undefined | string
      • year: number

    Returns ExifDate