convertToTm overloads

Synopses

Declared in <bdlt_datetimeutil.h>

Return the value of the specified datetime expressed as a bsl::tm.

static
std::tm
convertToTm(Datetime const& datetime);

Same as the preceding overload for the specified datetime, loading into the specified result.

static
void
convertToTm(
    std::tm* result,
    Datetime const& datetime);

Return Value

corresponding bsl::tm value

Parameters

Name

Description

datetime

value to convert

result

destination for the converted bsl::tm

Created with MrDocs