Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ExifTime

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

Hierarchy

  • ExifTime

Index

Constructors

constructor

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

    • hour: number
    • minute: number
    • second: number
    • Optional millisecond: number

    Returns ExifTime

Properties

Readonly hour

hour: number

Optional Readonly millisecond

millisecond: number

Readonly minute

minute: number

Readonly second

second: number

Accessors

millis

  • get millis(): undefined | number

Methods

toExifString

  • toExifString(): string

toISOString

  • toISOString(): string

toString

  • toString(): string

Static fromDateTime

  • fromDateTime(dt: DateTime): Maybe<ExifTime>

Static fromEXIF

  • fromEXIF(text: string): Maybe<ExifTime>

Generated using TypeDoc