BloombergLP::bdlt

Namespace for date and time types in the bdl package group.

Types

NameDescription
Calendar Runtime-efficient, value-semantic repository of weekend and holiday information.
CalendarCache Efficient cache of read-only bdlt::Calendar objects.
CalendarCache_Entry Cache entry holding a read-only calendar and its load time.
CalendarLoader Protocol for loading calendars from a specific source.
CalendarReverseIteratorAdapter Reverse iterator adapter for calendar iterators.
CalendarUtil This struct provides a namespace for utility functions that operate on dates in the context of supplied calendars.
Calendar_BusinessDayConstIter Provide read-only, sequential access in increasing (chronological) order to the business days in a Calendar object.
CurrentTime Provide a namespace for current-time retrieval procedures.
Date Value-semantic type representing a date in the Unix (POSIX) calendar.
DateFormatter This class provides a specifier formatter for printing Date objects.
DateFormatter_Cache Cached Date fields for faster formatting.
DateTz This value-semantic class describes a date value in a particular time zone, which is indicated using an offset from UTC (in minutes).
DateTzFormatter This class provides a specifier formatter for printing DateTz objects.
DateTzFormatter_Cache Cached DateTz fields for faster formatting.
DateUtil This struct provides a namespace for utility functions that provide non-primitive operations on dates.
Datetime Value-semantic type representing a date and a time of day.
DatetimeFormatter This class provides a specifier formatter for printing Datetime objects.
DatetimeFormatter_Cache Cached Datetime fields for faster formatting.
DatetimeImpUtil This struct provides a namespace for datetime encoding constants.
DatetimeInterval Each object of this class represents a (signed) time interval with microsecond resolution. See {The Representation of a Time Interval} for details.
DatetimeIntervalUtil This utility struct provides a namespace for a suite of functions operating on objects of type DatetimeInterval.
DatetimeTz This value-semantic class describes a datetime value in a particular time zone, which is indicated using an offset from UTC (in minutes).
DatetimeTzFormatter This class provides a specifier formatter for printing DatetimeTz objects.
DatetimeTzFormatter_Cache Cached DatetimeTz fields for faster formatting.
DatetimeUtil This utility struct provides a namespace for a suite of functions operating on objects of type Datetime.
DayOfWeek This struct provides a namespace for enumerating day-of-week values. See Enum in the TYPES sub-section for details.
DayOfWeekSet This class implements an efficient value-semantic, ordered set of DayOfWeek values.
DayOfWeekSet_Iter Bidirectional iterator over the members of a DayOfWeekSet.
DayOfWeekUtil This struct provides a namespace for common non-primitive procedures that operate on bdlt::DayOfWeek::Enum values.
DefaultCalendarCache Manage the process-wide default CalendarCache.
DefaultTimetableCache Manage the process-wide default TimetableCache.
EpochUtil Provide conversions between absolute datetimes and epoch-relative intervals.
FixUtil Namespace for conversions between bdlt types and their FIX representations.
FixUtilConfiguration This unconstrained (value-semantic) attribute class characterizes how to configure certain behavior in FixUtil functions.
FormatTestUtil Namespace for static functions that test formatting of bdlt value types.
FormatUtil This class serves as a namespace for some static functions that are useful in creating specializations of bsl::formatter to support bsl::format.
Formatter Parse format specifications and format values using the specified tt_SPECIFIER_FORMATTER template class.
FuzzUtil This utility struct provides a namespace for a suite of functions that produce objects of date and time values from fuzz data.
IntervalConversionUtil This utility struct provides functions to convert between time-interval representations.
Iso8601Util Utility for converting between bdlt types and ISO 8601 strings.
Iso8601UtilConfiguration This unconstrained (value-semantic) attribute class characterizes how to configure certain behavior in Iso8601Util functions.
Iso8601UtilParseConfiguration This unconstrained (value-semantic) attribute class characterizes how to configure certain behavior in Iso8601Util functions.
Literal_SpecifierFormatter This class does parsing and output of sequences whose corresponding output is independent of the type and value of the object being formatted.
LocalTimeOffset Provide a namespace for local-time-offset procedures.
MonthOfYear This struct provides a namespace for enumerating month-of-year values. See Enum in the TYPES sub-section for details.
PackedCalendar Space-efficient, value-semantic repository of weekend and holiday information.
PackedCalendar_BusinessDayConstIterator Provide read-only, sequential access in increasing (chronological) order to the business days in a PackedCalendar object.
PackedCalendar_DateProxy Proxy for Date used by calendar iterator arrow operators.
PackedCalendar_DateRef Reference to a Date for holiday and business-day iterators.
PackedCalendar_HolidayCodeConstIterator Provide read-only, sequential access in increasing (numerical) order to the holiday codes in a PackedCalendar object.
PackedCalendar_HolidayConstIterator Sequential, read-only iterator over holidays in a PackedCalendar.
PosixDateImpUtil Namespace for low-level POSIX-calendar date conversion utilities.
ProlepticDateImpUtil Provide low-level support functions for proleptic Gregorian dates.
Time Value-semantic type representing the time of day to microsecond resolution.
TimeFormatter This class provides a specifier formatter for printing Time objects.
TimeFormatter_Cache Cached Time fields for faster formatting.
TimeTz This value-semantic class describes a time value in a particular time zone, which is indicated using an offset from UTC (in minutes).
TimeTzFormatter This class provides a specifier formatter for printing TimeTz objects.
TimeTzFormatter_Cache Cached TimeTz fields for faster formatting.
TimeUnitRatio This struct provides a namespace for constants characterizing ratios between commonly-used time units.
TimeUtil This struct provides a namespace for common non-primitive procedures that operate on Time objects. These methods are alias-safe and exception-neutral.
TimeZoneFormatter This class provides a specifier formatter for printing time zones.
Timetable Value-semantic repository of datetime-indexed state transitions.
TimetableCache Efficient cache of read-only bdlt::Timetable objects.
TimetableCache_Entry Cache entry holding a read-only timetable and its load time.
TimetableLoader Protocol for loading timetables from a specific source.
TimetableTransition Datetime-indexed state transition with an associated code.
TimetableTransition_Ref Proxy reference used by timetable iterator arrow operators.
Timetable_CompactableTransition Time-of-day state transition with an associated code.
Timetable_ConstIterator Provide read-only, sequential access in increasing (chronological) order to the transitions in a Timetable object.
Timetable_Day Value-semantic repository of time-indexed state transitions for one day.

Type Aliases

NameDescription
SerialDateImpUtil Alias for PosixDateImpUtil when proleptic dates are not enabled.

Functions

NameDescription
bdexStreamIn Load into variable the enum value read from stream using BDEX.
bdexStreamOut Write the enum value to stream using BDEX.
hashAppend hashAppend overloads
maxSupportedBdexVersion Return the maximum valid BDEX format version for this type.
operator& Return a set containing the intersection of the specified lhs and rhs sets (i.e., a set containing elements that are in both lhs and rhs).
operator+ Addition operators
operator++ Increment operators
operator- Unary minus operators
operator-- Decrement operators
operator^ Return a set containing the exclusive-or of the specified lhs and rhs sets.
operator| Return a set containing the union of the specified lhs and rhs sets (i.e., a set containing elements that are in either lhs or rhs or both).
operator~ Return a set containing the complement of the specified set (i.e., those members not contained in set).
swap swap overloads
operator<< Stream insertion operators
operator== Equality operators
operator!= Inequality operators
operator< Less-than operators
operator<= Less-than-or-equal operators
operator> Greater-than operators
operator>= Greater-than-or-equal operators