fn extract_from_datelike(date: impl Datelike, unit: Unit) -> Decimal
Extract field from Datelike.
Datelike