Skip to main content
Version: 2.4.x

Enumeration: PresetTimeOfDay

SimpleCalendar.api.PresetTimeOfDay

These are times of the day that do not always have the same time but rather need to be calculated. This value can be passed into other functions to specify which time of day you want calculated.

Enumeration Members

Midday

Midday = "midday"

The time of day when midday (noon) occurs


Midnight

Midnight = "midnight"

The time of day when midnight occurs


Sunrise

Sunrise = "sunrise"

The time of day when the sun rises. This time is affected by the sunrise time of a season and the current date


Sunset

Sunset = "sunset"

The time of day when the sun sets. This time is affected by the sunset time of a season and the current date