forked from paul/sinoptik
Paul van Tilburg
8d2717b392
This calculates which offset to use in the maps series with respect to the instant of caching. It assumes the first map is current for the instant it was retrieved. * Rename `*_first` to `*_at` methods * For convenience, change the types of `*_MAP_COUNT` to `u32` * Introduce `*_MAP_INTERVAL` constants to indicate the number of seconds each map in the series applies to * Return `None` if the provided instant is too far in the future |
||
---|---|---|
.. | ||
providers | ||
forecast.rs | ||
main.rs | ||
maps.rs | ||
position.rs | ||
providers.rs |