toBMKWeatherDataType method
Implementation
BMKWeatherDataType toBMKWeatherDataType() {
switch (this) {
case 0: return BMKWeatherDataType.BMKWeatherDataTypeNow;
case 1: return BMKWeatherDataType.BMKWeatherDataTypeForecasts;
case 2: return BMKWeatherDataType.BMKWeatherDataTypeForecastsForHour;
case 3: return BMKWeatherDataType.BMKWeatherDataTypeLifeIndex;
case 4: return BMKWeatherDataType.BMKWeatherDataTypeAlert;
case 5: return BMKWeatherDataType.BMKWeatherDataTypeAll;
default: return BMKWeatherDataType.values[this + 0];
}
}