generate overloads
Synopses
Declared in <bdlt_iso8601util.h>
Write the ISO 8601 representation of the specified object to stream.
Write the ISO 8601 representation of the specified object to stream.
static
std::ostream&
generate(
std::ostream& stream,
DateOrDateTz const& object);
Write the ISO 8601 representation of the specified object to stream.
Write the ISO 8601 representation of the specified object to stream.
Write the ISO 8601 representation of the specified object to stream.
static
std::ostream&
generate(
std::ostream& stream,
DatetimeOrDatetimeTz const& object);
Write the ISO 8601 representation of the specified object to stream.
static
std::ostream&
generate(
std::ostream& stream,
DatetimeTz const& object);
Write the ISO 8601 representation of the specified object to stream.
Write the ISO 8601 representation of the specified object to the specified stream. Optionally specify a configuration to affect the format of the generated string. If configuration is not supplied, the process‐wide default value Iso8601UtilConfiguration::defaultConfiguration() is used. Return a reference to stream. Note that stream is not null terminated.
static
std::ostream&
generate(
std::ostream& stream,
bsls::TimeInterval const& object);
Write the ISO 8601 representation of the specified object to stream.
static
std::ostream&
generate(
std::ostream& stream,
TimeOrTimeTz const& object);
Write the ISO 8601 representation of the specified object to stream.
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
bsl::string* string,
Date const& object);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
bsl::string* string,
DateOrDateTz const& object);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
bsl::string* string,
DateTz const& object);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
bsl::string* string,
Datetime const& object);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
bsl::string* string,
DatetimeOrDatetimeTz const& object);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
bsl::string* string,
DatetimeTz const& object);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
bsl::string* string,
Time const& object);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
bsl::string* string,
bsls::TimeInterval const& object);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
bsl::string* string,
TimeOrTimeTz const& object);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
bsl::string* string,
TimeTz const& object);
Append the ISO 8601 representation of the specified object to string.
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
std::pmr::string* string,
DateOrDateTz const& object);
Append the ISO 8601 representation of the specified object to string.
Append the ISO 8601 representation of the specified object to string.
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
std::pmr::string* string,
DatetimeOrDatetimeTz const& object);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
std::pmr::string* string,
DatetimeTz const& object);
Append the ISO 8601 representation of the specified object to string.
Load the ISO 8601 representation of the specified object into the specified string of type bsl::string, std::string, or std::pmr::string. Optionally specify a configuration to affect the format of the generated string. If configuration is not supplied, the process‐wide default value Iso8601UtilConfiguration::defaultConfiguration() is used. Return the number of characters in the formatted string. The previous contents of string (if any) are discarded.
static
int
generate(
std::pmr::string* string,
bsls::TimeInterval const& object);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
std::pmr::string* string,
TimeOrTimeTz const& object);
Append the ISO 8601 representation of the specified object to string.
Append the ISO 8601 representation of the specified object to string.
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
std::string* string,
DateOrDateTz const& object);
Append the ISO 8601 representation of the specified object to string.
Append the ISO 8601 representation of the specified object to string.
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
std::string* string,
DatetimeOrDatetimeTz const& object);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
std::string* string,
DatetimeTz const& object);
Append the ISO 8601 representation of the specified object to string.
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
std::string* string,
bsls::TimeInterval const& object);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
std::string* string,
TimeOrTimeTz const& object);
Append the ISO 8601 representation of the specified object to string.
Write the ISO 8601 representation of the specified object to stream.
static
std::ostream&
generate(
std::ostream& stream,
Date const& object,
GenerateConfiguration const& configuration);
Write the ISO 8601 representation of the specified object to stream.
static
std::ostream&
generate(
std::ostream& stream,
DateOrDateTz const& object,
GenerateConfiguration const& configuration);
Write the ISO 8601 representation of the specified object to stream.
Write the ISO 8601 representation of the specified object to stream.
static
std::ostream&
generate(
std::ostream& stream,
DateTz const& object,
GenerateConfiguration const& configuration);
Write the ISO 8601 representation of the specified object to stream.
static
std::ostream&
generate(
std::ostream& stream,
Datetime const& object,
GenerateConfiguration const& configuration);
Write the ISO 8601 representation of the specified object to stream.
static
std::ostream&
generate(
std::ostream& stream,
DatetimeOrDatetimeTz const& object,
GenerateConfiguration const& configuration);
Write the ISO 8601 representation of the specified object to stream.
static
std::ostream&
generate(
std::ostream& stream,
DatetimeTz const& object,
bool useZAbbreviationForUtc);
Write the ISO 8601 representation of the specified object to stream.
static
std::ostream&
generate(
std::ostream& stream,
DatetimeTz const& object,
GenerateConfiguration const& configuration);
Write the ISO 8601 representation of the specified object to stream.
static
std::ostream&
generate(
std::ostream& stream,
Time const& object,
GenerateConfiguration const& configuration);
Write the ISO 8601 representation of the specified object to stream.
static
std::ostream&
generate(
std::ostream& stream,
bsls::TimeInterval const& object,
GenerateConfiguration const& configuration);
Write the ISO 8601 representation of the specified object to stream.
static
std::ostream&
generate(
std::ostream& stream,
TimeOrTimeTz const& object,
GenerateConfiguration const& configuration);
Write the ISO 8601 representation of the specified object to stream.
Write the ISO 8601 representation of the specified object to stream.
static
std::ostream&
generate(
std::ostream& stream,
TimeTz const& object,
GenerateConfiguration const& configuration);
Format the specified object into the specified buffer using ISO 8601.
static
int
generate(
char* buffer,
ssize_t bufferLength,
Date const& object);
Format the specified object into the specified buffer using ISO 8601.
static
int
generate(
char* buffer,
ssize_t bufferLength,
DateOrDateTz const& object);
Format the specified object into the specified buffer using ISO 8601.
static
int
generate(
char* buffer,
ssize_t bufferLength,
DateTz const& object);
Format the specified object into the specified buffer using ISO 8601.
static
int
generate(
char* buffer,
ssize_t bufferLength,
Datetime const& object);
Format the specified object into the specified buffer using ISO 8601.
static
int
generate(
char* buffer,
ssize_t bufferLength,
DatetimeOrDatetimeTz const& object);
Format the specified object into the specified buffer using ISO 8601.
static
int
generate(
char* buffer,
ssize_t bufferLength,
DatetimeTz const& object);
Format the specified object into the specified buffer using ISO 8601.
static
int
generate(
char* buffer,
ssize_t bufferLength,
Time const& object);
Write the ISO 8601 representation of the specified object to the specified buffer of the specified bufferLength (in bytes), truncating (if necessary) to bufferLength. Optionally specify a configuration to affect the format of the generated string. If configuration is not supplied, the process‐wide default value Iso8601UtilConfiguration::defaultConfiguration() is used. Return the number of characters in the formatted string before truncation (not counting a null terminator). If bufferLength indicates sufficient capacity, buffer is null terminated. The behavior is undefined unless 0 <= bufferLength. Note that a buffer of size k_MAX_STRLEN + 1 is large enough to hold any string generated by this component (counting a null terminator, if any).
static
int
generate(
char* buffer,
ssize_t bufferLength,
bsls::TimeInterval const& object);
Format the specified object into the specified buffer using ISO 8601.
static
int
generate(
char* buffer,
ssize_t bufferLength,
TimeOrTimeTz const& object);
Format the specified object into the specified buffer using ISO 8601.
static
int
generate(
char* buffer,
ssize_t bufferLength,
TimeTz const& object);
Format the specified object into the specified buffer using ISO 8601.
static
int
generate(
char* buffer,
Date const& object,
ssize_t bufferLength);
Format the specified object into the specified buffer using ISO 8601.
static
int
generate(
char* buffer,
DateTz const& object,
ssize_t bufferLength);
Format the specified object into the specified buffer using ISO 8601.
static
int
generate(
char* buffer,
Datetime const& object,
ssize_t bufferLength);
Format the specified object into the specified buffer using ISO 8601.
static
int
generate(
char* buffer,
DatetimeTz const& object,
ssize_t bufferLength);
Format the specified object into the specified buffer using ISO 8601.
static
int
generate(
char* buffer,
Time const& object,
ssize_t bufferLength);
Format the specified object into the specified buffer using ISO 8601.
static
int
generate(
char* buffer,
TimeTz const& object,
ssize_t bufferLength);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
bsl::string* string,
Date const& object,
GenerateConfiguration const& configuration);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
bsl::string* string,
DateOrDateTz const& object,
GenerateConfiguration const& configuration);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
bsl::string* string,
DateTz const& object,
GenerateConfiguration const& configuration);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
bsl::string* string,
Datetime const& object,
GenerateConfiguration const& configuration);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
bsl::string* string,
DatetimeOrDatetimeTz const& object,
GenerateConfiguration const& configuration);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
bsl::string* string,
DatetimeTz const& object,
GenerateConfiguration const& configuration);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
bsl::string* string,
Time const& object,
GenerateConfiguration const& configuration);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
bsl::string* string,
bsls::TimeInterval const& object,
GenerateConfiguration const& configuration);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
bsl::string* string,
TimeOrTimeTz const& object,
GenerateConfiguration const& configuration);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
bsl::string* string,
TimeTz const& object,
GenerateConfiguration const& configuration);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
std::pmr::string* string,
Date const& object,
GenerateConfiguration const& configuration);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
std::pmr::string* string,
DateOrDateTz const& object,
GenerateConfiguration const& configuration);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
std::pmr::string* string,
DateTz const& object,
GenerateConfiguration const& configuration);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
std::pmr::string* string,
Datetime const& object,
GenerateConfiguration const& configuration);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
std::pmr::string* string,
DatetimeOrDatetimeTz const& object,
GenerateConfiguration const& configuration);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
std::pmr::string* string,
DatetimeTz const& object,
GenerateConfiguration const& configuration);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
std::pmr::string* string,
Time const& object,
GenerateConfiguration const& configuration);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
std::pmr::string* string,
bsls::TimeInterval const& object,
GenerateConfiguration const& configuration);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
std::pmr::string* string,
TimeOrTimeTz const& object,
GenerateConfiguration const& configuration);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
std::pmr::string* string,
TimeTz const& object,
GenerateConfiguration const& configuration);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
std::string* string,
Date const& object,
GenerateConfiguration const& configuration);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
std::string* string,
DateOrDateTz const& object,
GenerateConfiguration const& configuration);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
std::string* string,
DateTz const& object,
GenerateConfiguration const& configuration);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
std::string* string,
Datetime const& object,
GenerateConfiguration const& configuration);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
std::string* string,
DatetimeOrDatetimeTz const& object,
GenerateConfiguration const& configuration);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
std::string* string,
DatetimeTz const& object,
GenerateConfiguration const& configuration);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
std::string* string,
Time const& object,
GenerateConfiguration const& configuration);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
std::string* string,
bsls::TimeInterval const& object,
GenerateConfiguration const& configuration);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
std::string* string,
TimeOrTimeTz const& object,
GenerateConfiguration const& configuration);
Append the ISO 8601 representation of the specified object to string.
static
int
generate(
std::string* string,
TimeTz const& object,
GenerateConfiguration const& configuration);
Format the specified object into the specified buffer using ISO 8601.
static
int
generate(
char* buffer,
ssize_t bufferLength,
Date const& object,
GenerateConfiguration const& configuration);
Format the specified object into the specified buffer using ISO 8601.
static
int
generate(
char* buffer,
ssize_t bufferLength,
DateOrDateTz const& object,
GenerateConfiguration const& configuration);
Format the specified object into the specified buffer using ISO 8601.
static
int
generate(
char* buffer,
ssize_t bufferLength,
DateTz const& object,
GenerateConfiguration const& configuration);
Format the specified object into the specified buffer using ISO 8601.
static
int
generate(
char* buffer,
ssize_t bufferLength,
Datetime const& object,
GenerateConfiguration const& configuration);
Format the specified object into the specified buffer using ISO 8601.
static
int
generate(
char* buffer,
ssize_t bufferLength,
DatetimeOrDatetimeTz const& object,
GenerateConfiguration const& configuration);
Format the specified object into the specified buffer using ISO 8601.
static
int
generate(
char* buffer,
ssize_t bufferLength,
DatetimeTz const& object,
GenerateConfiguration const& configuration);
Format the specified object into the specified buffer using ISO 8601.
static
int
generate(
char* buffer,
ssize_t bufferLength,
Time const& object,
GenerateConfiguration const& configuration);
Write the ISO 8601 representation of the specified object to the specified buffer, using the specified configuration.
static
int
generate(
char* buffer,
ssize_t bufferLength,
bsls::TimeInterval const& object,
GenerateConfiguration const& configuration);
Format the specified object into the specified buffer using ISO 8601.
static
int
generate(
char* buffer,
ssize_t bufferLength,
TimeOrTimeTz const& object,
GenerateConfiguration const& configuration);
Format the specified object into the specified buffer using ISO 8601.
static
int
generate(
char* buffer,
ssize_t bufferLength,
TimeTz const& object,
GenerateConfiguration const& configuration);
Format the specified object into the specified buffer using ISO 8601.
static
int
generate(
char* buffer,
DateTz const& object,
ssize_t bufferLength,
bool useZAbbreviationForUtc);
Format the specified object into the specified buffer using ISO 8601.
static
int
generate(
char* buffer,
DatetimeTz const& object,
ssize_t bufferLength,
bool useZAbbreviationForUtc);
Format the specified object into the specified buffer using ISO 8601.
static
int
generate(
char* buffer,
TimeTz const& object,
ssize_t bufferLength,
bool useZAbbreviationForUtc);
Created with MrDocs