modern efficient user interface, using human-friendly HTML
Returns boolean for various time-of-day queries such as isNight and isBusinessHours
Determines the dayphase based on hour boundaries. It allows flexible time segmentation for different cultural or system-defined day phases.