[#BloombergLP-bdlt]
= xref:BloombergLP.adoc[BloombergLP]::bdlt
:relfileprefix: ../
:mrdocs:

Namespace for date and time types in the `bdl` package group&period;

== Types

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


== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlt/SerialDateImpUtil.adoc[`SerialDateImpUtil`] 
| Alias for `PosixDateImpUtil` when proleptic dates are not enabled&period;
|===


== Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlt/bdexStreamIn-05.adoc[`bdexStreamIn`] 
| Load into `variable` the enum value read from `stream` using BDEX&period;
| xref:BloombergLP/bdlt/bdexStreamOut-05.adoc[`bdexStreamOut`] 
| Write the enum `value` to `stream` using BDEX&period;
| xref:BloombergLP/bdlt/hashAppend-07b.adoc[`hashAppend`] 
| `hashAppend` overloads
| xref:BloombergLP/bdlt/maxSupportedBdexVersion-0b.adoc[`maxSupportedBdexVersion`] 
| Return the maximum valid BDEX format version for this type&period;
| xref:BloombergLP/bdlt/operator_bitand.adoc[`operator&amp;`] 
| Return a set containing the intersection of the specified `lhs` and `rhs` sets (i&period;e&period;, a set containing elements that are in both `lhs` and `rhs`)&period;
| xref:BloombergLP/bdlt/operator_plus-0a.adoc[`operator&plus;`] 
| Addition operators
| xref:BloombergLP/bdlt/operator_inc-01.adoc[`operator&plus;&plus;`] 
| Increment operators
| xref:BloombergLP/bdlt/operator_minus-02.adoc[`operator&hyphen;`] 
| Unary minus operators
| xref:BloombergLP/bdlt/operator_dec-0a.adoc[`operator&hyphen;&hyphen;`] 
| Decrement operators
| xref:BloombergLP/bdlt/operator_xor.adoc[`operator&circ;`] 
| Return a set containing the exclusive&hyphen;or of the specified `lhs` and `rhs` sets&period;
| xref:BloombergLP/bdlt/operator_bitor.adoc[`operator&verbar;`] 
| Return a set containing the union of the specified `lhs` and `rhs` sets (i&period;e&period;, a set containing elements that are in either `lhs` or `rhs` or both)&period;
| xref:BloombergLP/bdlt/operator_bitnot.adoc[`operator&#126;`] 
| Return a set containing the complement of the specified `set` (i&period;e&period;, those members _not_ contained in `set`)&period;
| xref:BloombergLP/bdlt/swap-04.adoc[`swap`] 
| `swap` overloads
| xref:BloombergLP/bdlt/operator_lshift-0f.adoc[`operator&lt;&lt;`] 
| Stream insertion operators
| xref:BloombergLP/bdlt/operator_eq-07.adoc[`operator&equals;&equals;`] 
| Equality operators
| xref:BloombergLP/bdlt/operator_not_eq-06c.adoc[`operator!&equals;`] 
| Inequality operators
| xref:BloombergLP/bdlt/operator_lt-0c1.adoc[`operator&lt;`] 
| Less&hyphen;than operators
| xref:BloombergLP/bdlt/operator_le-0c.adoc[`operator&lt;&equals;`] 
| Less&hyphen;than&hyphen;or&hyphen;equal operators
| xref:BloombergLP/bdlt/operator_gt-07.adoc[`operator&gt;`] 
| Greater&hyphen;than operators
| xref:BloombergLP/bdlt/operator_ge-0e.adoc[`operator&gt;&equals;`] 
| Greater&hyphen;than&hyphen;or&hyphen;equal operators
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
