Namespace for low‐level POSIX‐calendar date conversion utilities.
Synopsis
Declared in <bdlt_posixdateimputil.h>
struct PosixDateImpUtil;
Description
This struct provides a namespace for a suite of pure functions that perform low‐level operations on date values in a variety of formats. Note that all of these functions, whether or not implemented in terms of a static cache, are stateless, and, as such, are inherently thread‐safe.
Static Member Functions
Name |
Description |
Return |
|
Return whether |
|
Return whether |
|
Return whether |
|
Return whether YMD is valid without using the date cache. |
|
Return the last day of month for the given year and month. |
|
Return the number of leap years between |
|
Return the day (of the month) of the date value indicated by the specified |
|
Return the day of month for |
|
Return the day of week (1=SUN .. 7=SAT) for the given serial day. |
|
Return the day of the year of the date value indicated by the specified |
|
Return the month of the date value indicated by the specified |
|
Return the month for |
|
Load year and day‐of‐year from the given serial day. |
|
Return the year of the date value indicated by the specified |
|
Return the year for |
|
Load year, month, and day from the given serial day. |
|
Load YMD from |
|
Return the day of month for the given year and day‐of‐year. |
|
Return the day of week (1=SUN .. 7=SAT) for year and day‐of‐year. |
|
Load month and day from the given year and day‐of‐year. |
|
Return the month of the date value indicated by the specified |
|
Return the serial date for the given year and day‐of‐year. |
|
Return the day of week (1=SUN .. 7=SAT) for the given YMD date. |
|
Return the day of year for the given year, month, and day. |
|
Return the serial date for the given year, month, and day. |
|
Return the serial date for YMD without using the date cache. |
Created with MrDocs