Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SimpleDate

Simplified date management with only month, year, and day

Hierarchy

  • SimpleDate

Index

Constructors

Properties

Methods

Constructors

constructor

  • new SimpleDate(month: number | string, day: number, year: number): SimpleDate

Properties

day

day: number

month

month: number

year

year: number

Methods

Static monthToNum

  • monthToNum(monthStr: string): number
  • Converts a 3 letteer text month abbreviation to a numeric representation

    Parameters

    • monthStr: string

      month abbreviation

    Returns number

Static parseSpotifyDate

  • parseSpotifyDate(releaseDate: Spotify.ReleaseDate): SimpleDate

Generated using TypeDoc