@drewsonne/maya-dates / Exports / LordOfTheNight
Describes one of the 9 Lords of the night. This class is accessible through its instantiated values, or the get() method.
Example
let lord_of_night_g8_1 = mayadates.lc.night.get('G8')
let lord_of_night_g8_2 = mayadates.lc.night.G8
console.log(lord_of_night_g8_1 === lord_of_night_g8_2)
• new LordOfTheNight(id
)
Name | Type |
---|---|
id |
number |
• id: number
▸ toString(): string
Represent the Lord of the night as a string G1..G9.
string