readRaw overloads
Synopses
Declared in <baltzo_zoneinfobinaryreader.h>
Read time zone information from the specified stream, and load the description into the specified zoneinfoResult exactly in accordance with the original data. The zoneinfoResult may not be a "well‐formed" object (see baltzo::ZoneinfoUtil::isWellFormed documentation for details). Return 0 on success and a non‐zero value if stream does not provide a sequence of bytes consistent with the Zoneinfo binary format. If an error occurs during the operation, zoneinfoResult is unspecified. Optionally specify a headerResult that, on success, will be populated with a summary of the stream contents. Note that time zone data files created by certain versions of the zic time zone compiler will have a sentinel transition prior to 01‐01‐0001 (the first representable Datetime value) and the zoneinfoResult will therefore be non‐well formed (use read instead).
Read raw time zone information and load the header summary.
static
int
readRaw(
Zoneinfo* zoneinfoResult,
ZoneinfoBinaryHeader* headerResult,
std::istream& stream);
Created with MrDocs