[#BloombergLP-bdlt-FixUtil-parse-04a]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/FixUtil.adoc[FixUtil]::parse
:relfileprefix: ../../../
:mrdocs:

`parse` overloads

== Synopses

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

Parse a FIX date `string&lowbar;view` into a `Date`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/bdlt/FixUtil/parse-06.adoc[parse](
    xref:BloombergLP/bdlt/Date.adoc[Date]* result,
    std::string&lowbar;view const& string);
----

[.small]#xref:BloombergLP/bdlt/FixUtil/parse-06.adoc[_» more&period;&period;&period;_]#

Parse a FIX date&hyphen;tz `string&lowbar;view` into a `DateTz`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/bdlt/FixUtil/parse-00.adoc[parse](
    xref:BloombergLP/bdlt/DateTz.adoc[DateTz]* result,
    std::string&lowbar;view const& string);
----

[.small]#xref:BloombergLP/bdlt/FixUtil/parse-00.adoc[_» more&period;&period;&period;_]#

Parse a FIX datetime `string&lowbar;view` into a `Datetime`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/bdlt/FixUtil/parse-08.adoc[parse](
    xref:BloombergLP/bdlt/Datetime.adoc[Datetime]* result,
    std::string&lowbar;view const& string);
----

[.small]#xref:BloombergLP/bdlt/FixUtil/parse-08.adoc[_» more&period;&period;&period;_]#

Parse a FIX datetime&hyphen;tz `string&lowbar;view` into a `DatetimeTz`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/bdlt/FixUtil/parse-0af.adoc[parse](
    xref:BloombergLP/bdlt/DatetimeTz.adoc[DatetimeTz]* result,
    std::string&lowbar;view const& string);
----

[.small]#xref:BloombergLP/bdlt/FixUtil/parse-0af.adoc[_» more&period;&period;&period;_]#

Parse a FIX time `string&lowbar;view` into a `Time`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/bdlt/FixUtil/parse-03.adoc[parse](
    xref:BloombergLP/bdlt/Time.adoc[Time]* result,
    std::string&lowbar;view const& string);
----

[.small]#xref:BloombergLP/bdlt/FixUtil/parse-03.adoc[_» more&period;&period;&period;_]#

Parse a FIX time&hyphen;tz `string&lowbar;view` into a `TimeTz`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/bdlt/FixUtil/parse-0a2.adoc[parse](
    xref:BloombergLP/bdlt/TimeTz.adoc[TimeTz]* result,
    std::string&lowbar;view const& string);
----

[.small]#xref:BloombergLP/bdlt/FixUtil/parse-0a2.adoc[_» more&period;&period;&period;_]#

Parse a FIX date string of the given length into a `Date`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/bdlt/FixUtil/parse-0e.adoc[parse](
    xref:BloombergLP/bdlt/Date.adoc[Date]* result,
    char const* string,
    int length);
----

[.small]#xref:BloombergLP/bdlt/FixUtil/parse-0e.adoc[_» more&period;&period;&period;_]#

Parse a FIX date&hyphen;tz string of the given length into a `DateTz`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/bdlt/FixUtil/parse-0d3.adoc[parse](
    xref:BloombergLP/bdlt/DateTz.adoc[DateTz]* result,
    char const* string,
    int length);
----

[.small]#xref:BloombergLP/bdlt/FixUtil/parse-0d3.adoc[_» more&period;&period;&period;_]#

Parse a FIX datetime string of the given length into a `Datetime`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/bdlt/FixUtil/parse-0db.adoc[parse](
    xref:BloombergLP/bdlt/Datetime.adoc[Datetime]* result,
    char const* string,
    int length);
----

[.small]#xref:BloombergLP/bdlt/FixUtil/parse-0db.adoc[_» more&period;&period;&period;_]#

Parse a FIX datetime&hyphen;tz string of the given length into a `DatetimeTz`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/bdlt/FixUtil/parse-04b.adoc[parse](
    xref:BloombergLP/bdlt/DatetimeTz.adoc[DatetimeTz]* result,
    char const* string,
    int length);
----

[.small]#xref:BloombergLP/bdlt/FixUtil/parse-04b.adoc[_» more&period;&period;&period;_]#

Parse a FIX time string of the given length into a `Time`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/bdlt/FixUtil/parse-043.adoc[parse](
    xref:BloombergLP/bdlt/Time.adoc[Time]* result,
    char const* string,
    int length);
----

[.small]#xref:BloombergLP/bdlt/FixUtil/parse-043.adoc[_» more&period;&period;&period;_]#

Parse a FIX time&hyphen;tz string of the given length into a `TimeTz`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/bdlt/FixUtil/parse-0b.adoc[parse](
    xref:BloombergLP/bdlt/TimeTz.adoc[TimeTz]* result,
    char const* string,
    int length);
----

[.small]#xref:BloombergLP/bdlt/FixUtil/parse-0b.adoc[_» more&period;&period;&period;_]#

== Return Value

0 on success, non&hyphen;zero on failure

== Parameters

[cols="1,4"]
|===
| Name| Description
| *result*
| destination for the parsed value
| *string*
| FIX date string to parse
| *length*
| number of characters to parse
|===


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