-
Notifications
You must be signed in to change notification settings - Fork 7
DTO: Precipitation
Forecasts | Measurements | Miscellaneous |
---|---|---|
Alert | Cloud cover | Area |
Alert details | Direction | Coordinate |
Day | Humidity | Message |
Hour | Precipitation | Moon |
Minute | Pressure | Provider |
Period | Temperature | Source |
Visibility | Sun times | |
Wind | Time period |
The amount of precipitation.
The value of the measurement.
getValue(): float
Returns a float
.
The type of unit which the value was measured in.
getUnit(): \Rugaard\WeatherKit\Units\Length\Millimeter
Returns an object of type Rugaard\WeatherKit\Units\Length\Millimeter
.
Convert value and unit to Rugaard\WeatherKit\Units\Length\Centimeter
.
asCentimeters(): self
Returns $this
reference.
Convert value and unit to Rugaard\WeatherKit\Units\Length\Foot
.
asFeet(): self
Returns $this
reference.
Convert value and unit to Rugaard\WeatherKit\Units\Length\Inch
.
asInches(): self
Returns $this
reference.
Convert value and unit to Rugaard\WeatherKit\Units\Length\Kilometer
.
asKilometers(): self
Returns $this
reference.
Convert value and unit to Rugaard\WeatherKit\Units\Length\Meter
.
asMeters(): self
Returns $this
reference.
Convert value and unit to Rugaard\WeatherKit\Units\Length\Mile
.
asMiles(): self
Returns $this
reference.
Convert value and unit to Rugaard\WeatherKit\Units\Length\Millimeter
.
asMillimeters(): self
Returns $this
reference.
Convert value and unit to Rugaard\WeatherKit\Units\Length\Yard
.
asYards(): self
Returns $this
reference.