Skip to content

Reference

tilttek/weather

Every public type of the package, with its role.

TypeRole
WeatherForecasts the next days from a state, in one language.
WeatherStateThe zone, the season, and the condition and temperature the last day left; read from and written to a map of texts.
ForecastThe days of a forecast and the state the last one leaves.
DayThe condition, label, temperature, zone and season of one day; the temperature in Fahrenheit.
ClimatesThe declared languages, conditions, seasons and zones, every reference checked; the shipped climates.
ClimateReaderReads climates from YAML, a file or a decoded document, naming the place of each problem.
ConditionA weather condition: its labels, its temperature shift and its neighbours.
SeasonA season and its labels.
ZoneA climate zone: its labels, its seasons, its persistence and its daily roll.
SeasonalClimateWhat a season brings to a zone: its range of temperatures and the weights of its conditions.
WeatherTableWrites climates as a table with a memory of tilttek/generator: a catalog, a document or a YAML file; the shipped files.
Exception\WeatherExceptionThe interface of every exception of the library.
Exception\InvalidClimateClimates that cannot be used.
Exception\UnknownClimateA name the climates do not declare.
Exception\InvalidStateA state that cannot be read.