How much of a forecast strip has already gone by, so a strip that stays on the watch after a missed fetch shows what is still to come rather than hours and days already over. More...
#include <stdint.h>Go to the source code of this file.
Functions | |
| uint8_t | forecast_hours_past (int32_t seconds_into_strip, uint8_t step_hours, uint8_t count) |
| How many of an hourly strip's columns are over. | |
| uint8_t | forecast_days_past (int days_since_first, uint8_t count) |
| How many of a daily strip's columns are days before today. | |
How much of a forecast strip has already gone by, so a strip that stays on the watch after a missed fetch shows what is still to come rather than hours and days already over.