The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Weather::YR::LocationForecast::Day - Class that holds weather data for one day.

DESCRIPTION

Don't use this class directly. Instead, access it via Weather::YR and Weather::YR::LocationForecast.

METHODS

This class inherits all the methods from Weather::YR::Day and provides the following new methods:

temperatures

Returns an array reference of all the Weather::YR::Model::Temperature data points for this day.

temperature

Returns the "most logical" Weather::YR::Model::Temperature data point for this day.

This works so that if you are working with "now", it will pick the data point closest to the current time. If you are working with any other days, including "today", it will return the data noon point, or the closest one after noon if there isn't one for noon.

precipitations

Returns an array reference of all the Weather::YR::Model::Precipitation data points for this day.

precipitation

Returns "the most logical" Weather::YR::Model::Precipitation data point for this day.

This works so that if you are working with "now", it will pick the data point closest to the current time. If you are working with any other days, including "today", it will return the data noon point, or the closest one after noon if there isn't one for noon.

wind_directions

Returns an array reference of Weather::YR::Model::WindDirection data points for this day.

wind_direction

Returns "the most logical" Weather::YR::Model::WindDirection data point for this day.

This works so that if you are working with "now", it will pick the data point closest to the current time. If you are working with any other days, including "today", it will return the data noon point, or the closest one after noon if there isn't one for noon.

wind_speeds

Returns an array reference of Weather::YR::Model::WindSpeed data points for this day.

wind_speed

Returns "the most logical" Weather::YR::Model::WindSpeed data point for this day.

This works so that if you are working with "now", it will pick the data point closest to the current time. If you are working with any other days, including "today", it will return the data noon point, or the closest one after noon if there isn't one for noon.

humidities

Returns an array reference of Weather::YR::Model::WindSpeed data points for this day.

humidity

Returns "the most logical" Weather::YR::Model::Humidity data point for this day.

This works so that if you are working with "now", it will pick the data point closest to the current time. If you are working with any other days, including "today", it will return the data noon point, or the closest one after noon if there isn't one for noon.

pressures

Returns an array reference of Weather::YR::Model::Pressure data points for this day.

pressure

Returns "the most logical" Weather::YR::Model::Humidity data point for this day.

This works so that if you are working with "now", it will pick the data point closest to the current time. If you are working with any other days, including "today", it will return the data noon point, or the closest one after noon if there isn't one for noon.

cloudinesses

Returns an array reference of Weather::YR::Model::Cloudiness data points for this day.

cloudiness

Returns "the most logical" Weather::YR::Model::Cloudiness data point for this day.

This works so that if you are working with "now", it will pick the data point closest to the current time. If you are working with any other days, including "today", it will return the data noon point, or the closest one after noon if there isn't one for noon.

fogs

Returns an array reference of Weather::YR::Model::Fog data points for this day.

fog

Returns "the most logical" Weather::YR::Model::Fog data point for this day.

This works so that if you are working with "now", it will pick the data point closest to the current time. If you are working with any other days, including "today", it will return the data noon point, or the closest one after noon if there isn't one for noon.

dew_point_temperatures

Returns an array reference of Weather::YR::Model::DewPointTemperature data points for this day.

dew_point_temperature

Returns "the most logical" Weather::YR::Model::DewPointTemperature data point for this day.

This works so that if you are working with "now", it will pick the data point closest to the current time. If you are working with any other days, including "today", it will return the data noon point, or the closest one after noon if there isn't one for noon.