Loading...
Searching...
No Matches
uv_band.h
Go to the documentation of this file.
1
16#pragma once
17
22
35
42UvBand uv_band(int uv);
43
50const char *uv_band_name(UvBand band);
51
60const char *uv_band_short_name(UvBand band);
61
UvBand
The risk bands, lowest first.
Definition uv_band.h:27
const char * uv_band_short_name(UvBand band)
The band's short name in capitals, at most six letters, such as "MOD" or "V.HIGH".
Definition uv_band.c:68
const char * uv_band_name(UvBand band)
The band's full name in capitals, such as "MODERATE" or "VERY HIGH".
Definition uv_band.c:59
UvBand uv_band(int uv)
The band a UV index falls in.
Definition uv_band.c:12
@ UV_BAND_VERY_HIGH
8 to 10
Definition uv_band.h:32
@ UV_BAND_LOW
0 to 2
Definition uv_band.h:29
@ UV_BAND_HIGH
6 and 7
Definition uv_band.h:31
@ UV_BAND_MODERATE
3 to 5
Definition uv_band.h:30
@ UV_BAND_NONE
No reading, from a negative index.
Definition uv_band.h:28
@ UV_BAND_EXTREME
11 and up
Definition uv_band.h:33