Skip to content

Instantly share code, notes, and snippets.

@b3sam
Created October 23, 2012 19:04
Show Gist options
  • Save b3sam/3940886 to your computer and use it in GitHub Desktop.
Save b3sam/3940886 to your computer and use it in GitHub Desktop.
:awe:
class WeatherTypes
{
const NOT_AVAILABLE = 'NA';
const CLEAR_NIGHT = 0;
const SUNNY_DAY = 1;
const PARTLY_CLOUDY_NIGHT = 2;
const PARTLY_CLOUDY_DAY = 3;
const NOT_USED = 4;
const MIST = 5;
const FOG = 6;
const CLOUDY = 7;
const OVERCAST = 8;
const LIGHT_RAIN_SHOWER_NIGHT = 9;
const LIGHT_RAIN_SHOWER_DAY = 10;
const DRIZZLE = 11;
const LIGHT_RAIN = 12;
const HEAVY_RAIN_SHOWER_NIGHT = 13;
const HEAVY_RAIN_SHOWER_DAY = 14;
const HEAVY_RAIN = 15;
const SLEET_SHOWER_NIGHT = 16;
const SLEET_SHOWER_DAY = 17;
const SLEET = 18;
const HAIL_SHOWER_NIGHT = 19;
const HAIL_SHOWER_DAY = 20;
const HAIL = 21;
const LIGHT_SNOW_SHOWER_NIGHT = 22;
const LIGHT_SNOW_SHOWER_DAY = 23;
const LIGHT_SNOW = 24;
const HEAVY_SNOW_SHOWER_NIGHT = 25;
const HEAVY_SNOW_SHOWER DAY = 26;
const HEAVY_SNOW = 27;
const THUNDER_SHOWER_NIGHT = 28;
const THUNDER_SHOWER_DAY = 29;
const THUNDER = 30;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment