private TimeType getTimeType ( NameType nameType ) { switch ( nameType ) { case LONG_STANDARD : case SHORT_STANDARD : return TimeType . STANDARD ; case LONG_DAYLIGHT : case SHORT_DAYLIGHT : return TimeType . DAYLIGHT ; default : return TimeType . UNKNOWN ; } }
Returns the time type for the given name type