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

Return the anticipated formatted width for the specified `value`&period;

== Synopsis

Declared in `&lt;bdlt&lowbar;dateformatter&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
int
totalWidth(xref:BloombergLP/bdlt/DateFormatter_Cache.adoc[DateFormatter&lowbar;Cache] const& value) const;
----

== Return Value

anticipated number of output characters

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| cached date fields used to estimate width
|===


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