parseRelaxed overloads
Declared in <bdlt_iso8601util.h>
Parse a relaxed ISO 8601 string as a Datetime.
static
int
parseRelaxed(
Datetime* result,
std::string_view const& string);
» more...
Parse a relaxed ISO 8601 string as Datetime or DatetimeTz.
static
int
parseRelaxed(
DatetimeOrDatetimeTz* result,
std::string_view const& string);
» more...
Parse a relaxed ISO 8601 string as a DatetimeTz.
static
int
parseRelaxed(
DatetimeTz* result,
std::string_view const& string);
» more...
Parse the first length characters of a relaxed ISO 8601 string as a Datetime.
static
int
parseRelaxed(
Datetime* result,
char const* string,
ssize_t length);
» more...
Parse the first length characters of a relaxed ISO 8601 string as Datetime or DatetimeTz.
static
int
parseRelaxed(
DatetimeOrDatetimeTz* result,
char const* string,
ssize_t length);
» more...
Parse the first length characters of a relaxed ISO 8601 string as a DatetimeTz.
static
int
parseRelaxed(
DatetimeTz* result,
char const* string,
ssize_t length);
» more...
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| result | receives the parsed Datetime |
| string | ISO 8601 text to parse |
| length | number of characters to parse |