How much of a forecast strip has already gone by. More...
#include "weather/forecast_age.h"Macros | |
| #define | SECONDS_PER_STRIP_HOUR 3600 |
| Seconds in one hour of a forecast strip. | |
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.