validateLocalTime overloads
Synopses
Declared in <baltzo_timezoneutil.h>
Validate that localTime matches its time‐zone data.
static
int
validateLocalTime(
bool* result,
LocalDatetime const& localTime);
Validate that localTime matches time‐zone data for timeZoneId.
static
int
validateLocalTime(
bool* result,
bdlt::DatetimeTz const& localTime,
char const* timeZoneId);
Return Value
0 on success, and a non‐zero value otherwise
Parameters
Name |
Description |
result |
receives whether |
localTime |
local date‐time whose offset is validated |
timeZoneId |
identifier of the time zone used for validation |
Created with MrDocs