public final HiveParser_SelectClauseParser.indefinite_date_return indefinite_date() throws RecognitionException {
		HiveParser_SelectClauseParser.indefinite_date_return retval = new HiveParser_SelectClauseParser.indefinite_date_return();
		retval.start = input.LT(1);

		CommonTree root_0 = null;

		Token day=null;
		List<Object> list_expr=null;
		RuleReturnScope expr = null;
		CommonTree day_tree=null;
		RewriteRuleTokenStream stream_Number=new RewriteRuleTokenStream(adaptor,"token Number");
		RewriteRuleSubtreeStream stream_year_or_month=new RewriteRuleSubtreeStream(adaptor,"rule year_or_month");

		 gParent.msgs.push("indefinite_time"); 
		try {
			// SelectClauseParser.g:219:5: ( (expr+= year_or_month )* day= Number -> ^( TOK_DATE ( $expr)* $day) )
			// SelectClauseParser.g:220:4: (expr+= year_or_month )* day= Number
			{
			// SelectClauseParser.g:220:4: (expr+= year_or_month )*
			loop30:
			while (true) {
				int alt30=2;
				int LA30_0 = input.LA(1);
				if ( (LA30_0==Number) ) {
					int LA30_1 = input.LA(2);
					if ( (LA30_1==DIVIDE) ) {
						alt30=1;
					}

				}

				switch (alt30) {
				case 1 :
					// SelectClauseParser.g:220:5: expr+= year_or_month
					{
					pushFollow(FOLLOW_year_or_month_in_indefinite_date1497);
					expr=year_or_month();
					state._fsp--;

					stream_year_or_month.add(expr.getTree());
					if (list_expr==null) list_expr=new ArrayList<Object>();
					list_expr.add(expr.getTree());
					}
					break;

				default :
					break loop30;
				}
			}

			day=(Token)match(input,Number,FOLLOW_Number_in_indefinite_date1503);  
			stream_Number.add(day);

			// AST REWRITE
			// elements: expr, day
			// token labels: day
			// rule labels: retval
			// token list labels: 
			// rule list labels: expr
			// wildcard labels: 
			retval.tree = root_0;
			RewriteRuleTokenStream stream_day=new RewriteRuleTokenStream(adaptor,"token day",day);
			RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"rule retval",retval!=null?retval.getTree():null);
			RewriteRuleSubtreeStream stream_expr=new RewriteRuleSubtreeStream(adaptor,"token expr",list_expr);
			root_0 = (CommonTree)adaptor.nil();
			// 221:6: -> ^( TOK_DATE ( $expr)* $day)
			{
				// SelectClauseParser.g:221:8: ^( TOK_DATE ( $expr)* $day)
				{
				CommonTree root_1 = (CommonTree)adaptor.nil();
				root_1 = (CommonTree)adaptor.becomeRoot((CommonTree)adaptor.create(TOK_DATE, "TOK_DATE"), root_1);
				// SelectClauseParser.g:221:21: ( $expr)*
				while ( stream_expr.hasNext() ) {
					adaptor.addChild(root_1, stream_expr.nextTree());
				}
				stream_expr.reset();

				adaptor.addChild(root_1, stream_day.nextNode());
				adaptor.addChild(root_0, root_1);
				}

			}


			retval.tree = root_0;

			}

			retval.stop = input.LT(-1);

			retval.tree = (CommonTree)adaptor.rulePostProcessing(root_0);
			adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);

			 gParent.msgs.pop(); 
		}

		catch (RecognitionException e) {
		  throw e;
		}

		finally {
			// do for sure before leaving
		}
		return retval;
	}