pub(crate) trait PrecomputedDataSource<YearInfo> {
    // Required method
    fn load_or_compute_info(&self, year: i32) -> YearInfo;
}

Required Methods§

source

fn load_or_compute_info(&self, year: i32) -> YearInfo

Given a calendar year, load (or compute) the YearInfo for it

In the future we may pass in an optional previous YearInfo alongside the year it matches to allow code to take shortcuts.

Implementations on Foreign Types§

source§

impl PrecomputedDataSource<()> for ()

source§

impl PrecomputedDataSource<HebrewYearInfo> for ()

Implementors§