[#BloombergLP-bdlt-DateFormatter] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::DateFormatter :relfileprefix: ../../ :mrdocs: This `class` provides a specifier formatter for printing `Date` objects. == Synopsis Declared in `<bdlt_dateformatter.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_CHAR> class DateFormatter; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlt/DateFormatter/2constructor.adoc[`DateFormatter`] [.small]#[constructor]# | Create an object in its default initial state. | xref:BloombergLP/bdlt/DateFormatter/extraSections.adoc[`extraSections`] | Return the `bslfmt::FormatSpecificationParser::Sections` flags that apply to this value type. | xref:BloombergLP/bdlt/DateFormatter/formatDefault.adoc[`formatDefault`] | Format `value` to `out` using the default date layout. | xref:BloombergLP/bdlt/DateFormatter/formatIso8601.adoc[`formatIso8601`] | Format `value` to `out` using the ISO 8601 date layout. | xref:BloombergLP/bdlt/DateFormatter/formatNextSpecifier.adoc[`formatNextSpecifier`] | Format one recognized specifier from `*specInOut` into `*outIt`. | xref:BloombergLP/bdlt/DateFormatter/parseDefault.adoc[`parseDefault`] | Update this object as‐if parsing `Date` in default mode. | xref:BloombergLP/bdlt/DateFormatter/parseIso8601.adoc[`parseIso8601`] | Update this object as‐if parsing `Date` in Iso8601 mode. | xref:BloombergLP/bdlt/DateFormatter/parseNextModifier.adoc[`parseNextModifier`] | Parse a format modifier from the front of `*specInOut` if present. | xref:BloombergLP/bdlt/DateFormatter/parseNextSpecifier.adoc[`parseNextSpecifier`] | Parse the next recognized date format specifier from `*specInOut`. | xref:BloombergLP/bdlt/DateFormatter/postprocess.adoc[`postprocess`] | Read post‐processed fields from the specified `spec` that are relevant to this specifier formatter. | xref:BloombergLP/bdlt/DateFormatter/totalWidth.adoc[`totalWidth`] | Return the anticipated formatted width for the specified `value`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#