Loading...
Searching...
No Matches
forecast_age.c File Reference

How much of a forecast strip has already gone by. More...

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.

Detailed Description

How much of a forecast strip has already gone by.