sinoptik/src
Paul van Tilburg 8d2717b392
Provide not the first map but an instant-relative map
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
2022-02-17 21:38:16 +01:00
..
providers Introduce the Position struct; add position module 2022-02-15 14:15:59 +01:00
forecast.rs Introduce the Position struct; add position module 2022-02-15 14:15:59 +01:00
main.rs Provide not the first map but an instant-relative map 2022-02-17 21:38:16 +01:00
maps.rs Provide not the first map but an instant-relative map 2022-02-17 21:38:16 +01:00
position.rs Introduce the Position struct; add position module 2022-02-15 14:15:59 +01:00
providers.rs Add the Buienradar provider 2022-02-13 15:38:17 +01:00