Daylight-saving status for a target
Use DST status when offset change awareness matters to scheduling, billing windows, or user-facing time displays.
Open endpointDaylight-saving changes and business-day logic are where time APIs stop being trivial utilities.
DST transitions change offsets, calendar boundaries, and user-facing expectations. A serious API should expose both current status and transition-related context instead of leaving every app to infer it indirectly.
Elapsed-time and diff workflows become much more useful when they can count weekdays or holiday-aware business days. That lets teams keep operational scheduling logic in one place instead of stitching together separate calendar services.
Use DST status when offset change awareness matters to scheduling, billing windows, or user-facing time displays.
Open endpointUse elapsed when you need time since or time until a reference instant, optionally relative to another explicit comparison instant.
Open endpointUse diff when you need the distance between two explicit instants rather than a relative now-to-target calculation.
Open endpoint