Home
last modified time | relevance | path

Searched refs:LowerAmPm (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/chrono/src/format/
Dparse.rs366 &LowerAmPm | &UpperAmPm => { in parse_internal()
647 check!("am", [fix!(LowerAmPm)]; hour_div_12: 0); in test_parse()
648 check!("pm", [fix!(LowerAmPm)]; hour_div_12: 1); in test_parse()
649 check!("AM", [fix!(LowerAmPm)]; hour_div_12: 0); in test_parse()
650 check!("PM", [fix!(LowerAmPm)]; hour_div_12: 1); in test_parse()
655 check!("Am", [fix!(LowerAmPm)]; hour_div_12: 0); in test_parse()
656 check!(" Am", [fix!(LowerAmPm)]; INVALID); in test_parse()
657 check!("ame", [fix!(LowerAmPm)]; TOO_LONG); // `am` is parsed in test_parse()
658 check!("a", [fix!(LowerAmPm)]; TOO_SHORT); in test_parse()
659 check!("p", [fix!(LowerAmPm)]; TOO_SHORT); in test_parse()
[all …]
Dmod.rs186 LowerAmPm, enumerator
567 LowerAmPm => time.map(|t| { in format_inner()
Dstrftime.rs361 'P' => fix!(LowerAmPm), in next()