Skip to main content

segment_value_for_date

Function segment_value_for_date 

Source
pub fn segment_value_for_date(d: Date, kind: SegmentKind) -> Option<i32>
Expand description

What a segment evaluates to. Year can be negative; the rest are non-negative integers. Period is 0 for AM, 1 for PM.