Return the local‐minus‐UTC offset captured at construction.

Synopsis

Declared in <ball_fileobserver2.h>

bdlt::DatetimeInterval
localTimeOffset() const;

Description

Return the difference between the local time and UTC time in effect when this file observer was constructed. Note that this value remains unchanged during the lifetime of this object and therefore may become incorrect when the difference between the local time and UTC time changes (e.g., when transitioning into or out of daylight savings time).

DEPRECATED: Use bdlt::LocalTimeOffset instead.

Return Value

local‐minus‐UTC offset captured at construction

Created with MrDocs