BloombergLP::bdlt::DateUtil::convertFromYYYYMMDD

Load, into the specified result, the Date value represented by the specified yyyymmddValue in the "YYYYMMDD" format. Return 0 on success, and a non-zero value, with no effect on result, if yyyymmddValue does not represent a valid Date.

Synopsis

Declared in <bdlt_dateutil.h>

static
int
convertFromYYYYMMDD(
    Date* result,
    int yyyymmddValue);