Struct astro::time::Date [] [src]

pub struct Date {
    pub year: i16,
    pub month: u8,
    pub decimal_day: f64,
    pub cal_type: CalType,
}

Represents a date with year, month, decimal day and calendar type

Fields

year

Year

month

Month

range: 1 - 12

decimal_day

Decimal day

range: 1.0 - 31.0

cal_type

Calendar type