Options
All
  • Public
  • Public/Protected
  • All
Menu

Encodes an ExifDate

Hierarchy

  • ExifDate

Index

Constructors

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

Properties

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

Methods

  • toDate(): Date
  • toExifString(): string
  • toISOString(): string
  • toJSON(): { _ctor: string; day: number; month: number; rawValue: undefined | string; year: number }
  • Returns { _ctor: string; day: number; month: number; rawValue: undefined | string; year: number }

    • _ctor: string
    • day: number
    • month: number
    • rawValue: undefined | string
    • year: number
  • toString(sep?: string): string
  • fromDateTime(dt: DateTime, rawValue?: string): Maybe<ExifDate>
  • fromExifLoose(text: string): Maybe<ExifDate>
  • fromExifStrict(text: string): Maybe<ExifDate>
  • fromJSON(json: { _ctor: string; day: number; month: number; rawValue: undefined | string; year: number }): ExifDate
  • 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

Generated using TypeDoc