BloombergLP::bdlt::DateUtil::convertFromYYYYMMDDRaw

Return the Date represented by the "YYYYMMDD" value yyyymmddValue.

Synopsis

Declared in <bdlt_dateutil.h>

static
Date
convertFromYYYYMMDDRaw(int yyyymmddValue);

Description

Return the Date value represented by the specified yyyymmddValue in the "YYYYMMDD" format. The behavior is undefined unless yyyymmddValue represents a valid Date.

Return Value

decoded date

Parameters

NameDescription
yyyymmddValueinteger in YYYYMMDD form