// $ANTLR start "ruleType"
// com/classactionpl/tz/ZoneinfoWalker.g:192:1: ruleType returns [YearType type] : ( '-' | YEAR_TYPE );
public final YearType ruleType() throws RecognitionException {
YearType type = null;
CommonTree YEAR_TYPE21=null;
try {
// com/classactionpl/tz/ZoneinfoWalker.g:193:2: ( '-' | YEAR_TYPE )