0.4.1 • Published 9 years ago

discordian-date v0.4.1

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

DiscordianDate

Kind: global class
Properties

NameTypeDescription
yearnumberThe current year.
seasonstringThe name of the current season.
daynumberThe current day of the season.
weekdayIndexnumberThe current day of the week as an integer.
weekdaystringThe current day of the week.
holydaystringThe current holyday, if any.

new DiscordianDate(date)

Create a Discordian date corresponding to the passed-in date.

ParamTypeDescription
dateDateA Date object.
datestringA date string.
datenumberAn epoch time.

discordianDate.toString() ⇒ string

Returns the string representation of the Discordian date.

Kind: instance method of DiscordianDate
Returns: string - This object's Discordian date string.

DiscordianDate.today() ⇒ string

Returns the Discordian date string for the present day.

Kind: static method of DiscordianDate
Returns: string - The current Discordian date as a string.

0.4.1

9 years ago

0.4.0

9 years ago

0.3.3

9 years ago

0.3.2

9 years ago

0.3.1

9 years ago

0.3.0

9 years ago

0.2.3

9 years ago

0.2.2

9 years ago

0.2.1

9 years ago