returns the option by its code . concode_field_sep int code concode_elem_sep long offset concode_elem_sep TimeOption TODAY concode_elem_sep TimeOption THIS_WEEK concode_elem_sep TimeOption ALL concode_elem_sep String title concode_elem_sep TimeOption[] OPTIONS concode_field_sep long getOffset concode_elem_sep String toString concode_elem_sep int getCode
TimeOption function ( int arg0 ) { switch ( arg0 ) { case 0 : return ALL ; case 1 : return TODAY ; case 2 : return THIS_WEEK ; default : throw new IllegalArgumentException ( "srini_string" + arg0 ) ; } }