Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ExifDate

Encodes an ExifDate

Hierarchy

  • ExifDate

Index

Constructors

constructor

  • new ExifDate(year: number, month: number, day: number, rawValue?: string): ExifDate

Properties

Readonly day

day: number

Readonly month

month: number

Optional Readonly rawValue

rawValue: string

Readonly year

year: number

Methods

toDate

  • toDate(): Date

toExifString

  • toExifString(): string

toISOString

  • toISOString(): string

toString

  • toString(sep?: string): string

Static fromDateTime

  • fromDateTime(dt: DateTime, rawValue?: string): Maybe<ExifDate>

Static fromEXIF

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

Static fromExifLoose

  • fromExifLoose(text: string): Maybe<ExifDate>

Static fromExifStrict

  • fromExifStrict(text: string): Maybe<ExifDate>

Static fromISO

  • fromISO(text: string): Maybe<ExifDate>

Generated using TypeDoc