Function mz_repr::adt::datetime::fill_pdt_date

source ·
fn fill_pdt_date(
    pdt: &mut ParsedDateTime,
    actual: &mut VecDeque<TimeStrToken>,
) -> Result<(), String>
Expand description

Fills the year, month, and day fields of pdt using the TimeStrTokens in actual.

§Args

  • pdt: The ParsedDateTime to fill.
  • actual: The queue of tokens representing the string you want use to fill pdt’s fields.