Skip to main content

date_time_clock_component

Function date_time_clock_component 

Source
pub fn date_time_clock_component(
    epoch_seconds: i64,
    nanos: i32,
    prop: &str,
) -> Option<i64>
Expand description

d.<prop> component access for LocalDateTime/DateTime’s time-of-day fields (hour, …, nanosecond) – delegates to local_time_component on the instant’s nanos-of-day, folding in the caller-supplied sub-second nanos remainder (epoch_seconds alone only has whole-second precision).