Options
All
  • Public
  • Public/Protected
  • All
Menu

Encodes an ExifTime (which may not have a timezone offset)

Hierarchy

  • ExifTime

Index

Constructors

  • new ExifTime(hour: number, minute: number, second: number, millisecond?: number): ExifTime

Properties

hour: number
millisecond?: number
minute: number
second: number

Accessors

  • get millis(): undefined | number

Methods

  • toExifString(): string
  • toISOString(): string
  • toJSON(): { _ctor: string; hour: number; millisecond: undefined | number; minute: number; second: number }
  • Returns { _ctor: string; hour: number; millisecond: undefined | number; minute: number; second: number }

    • _ctor: string
    • hour: number
    • millisecond: undefined | number
    • minute: number
    • second: number
  • toString(): string
  • fromDateTime(dt: DateTime): Maybe<ExifTime>
  • fromJSON(json: { _ctor: string; hour: number; millisecond: undefined | number; minute: number; second: number }): ExifTime
  • Parameters

    • json: { _ctor: string; hour: number; millisecond: undefined | number; minute: number; second: number }
      • _ctor: string
      • hour: number
      • millisecond: undefined | number
      • minute: number
      • second: number

    Returns ExifTime

Generated using TypeDoc