# `DayEx.Parse`
[🔗](https://github.com/gsmlg-opt/backplane/blob/v1.10.115/apps/day_ex/lib/day_ex/parse.ex#L1)

Custom format string parser for DayEx.

Parses date strings using format tokens (the reverse of DayEx.Format).
Reuses `DayEx.Format.tokenize/1` for tokenizing the format string, then
walks the input string consuming characters that match each token.

# `parse`

Parse `input` according to `format` using the default (:en) locale.

Returns `{:ok, %DayEx{}}` on success, `{:error, reason}` on failure.

# `parse`

Parse `input` according to `format` with the given `locale`.

Returns `{:ok, %DayEx{}}` on success, `{:error, reason}` on failure.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
