fn extract_from_timelike(time: impl Timelike, unit: Unit) -> Decimal
Extract field from Timelike.
Timelike