Home | History | Annotate | Download | only in parser
      1 /* Generated By:JavaCC: Do not edit this line. DateTimeParserConstants.java */
      2 /*
      3  *  Copyright 2004 the mime4j project
      4  *
      5  *  Licensed under the Apache License, Version 2.0 (the "License");
      6  *  you may not use this file except in compliance with the License.
      7  *  You may obtain a copy of the License at
      8  *
      9  *      http://www.apache.org/licenses/LICENSE-2.0
     10  *
     11  *  Unless required by applicable law or agreed to in writing, software
     12  *  distributed under the License is distributed on an "AS IS" BASIS,
     13  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14  *  See the License for the specific language governing permissions and
     15  *  limitations under the License.
     16  */
     17 package org.apache.james.mime4j.field.datetime.parser;
     18 
     19 public interface DateTimeParserConstants {
     20 
     21   int EOF = 0;
     22   int OFFSETDIR = 24;
     23   int MILITARY_ZONE = 35;
     24   int WS = 36;
     25   int COMMENT = 38;
     26   int DIGITS = 46;
     27   int QUOTEDPAIR = 47;
     28   int ANY = 48;
     29 
     30   int DEFAULT = 0;
     31   int INCOMMENT = 1;
     32   int NESTED_COMMENT = 2;
     33 
     34   String[] tokenImage = {
     35     "<EOF>",
     36     "\"\\r\"",
     37     "\"\\n\"",
     38     "\",\"",
     39     "\"Mon\"",
     40     "\"Tue\"",
     41     "\"Wed\"",
     42     "\"Thu\"",
     43     "\"Fri\"",
     44     "\"Sat\"",
     45     "\"Sun\"",
     46     "\"Jan\"",
     47     "\"Feb\"",
     48     "\"Mar\"",
     49     "\"Apr\"",
     50     "\"May\"",
     51     "\"Jun\"",
     52     "\"Jul\"",
     53     "\"Aug\"",
     54     "\"Sep\"",
     55     "\"Oct\"",
     56     "\"Nov\"",
     57     "\"Dec\"",
     58     "\":\"",
     59     "<OFFSETDIR>",
     60     "\"UT\"",
     61     "\"GMT\"",
     62     "\"EST\"",
     63     "\"EDT\"",
     64     "\"CST\"",
     65     "\"CDT\"",
     66     "\"MST\"",
     67     "\"MDT\"",
     68     "\"PST\"",
     69     "\"PDT\"",
     70     "<MILITARY_ZONE>",
     71     "<WS>",
     72     "\"(\"",
     73     "\")\"",
     74     "<token of kind 39>",
     75     "\"(\"",
     76     "<token of kind 41>",
     77     "<token of kind 42>",
     78     "\"(\"",
     79     "\")\"",
     80     "<token of kind 45>",
     81     "<DIGITS>",
     82     "<QUOTEDPAIR>",
     83     "<ANY>",
     84   };
     85 
     86 }
     87