File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed
src/main/java/com/relogiclabs/json/schema/grammar Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ lexer grammar DateTimeLexer;
2+
3+ ERA : ' G' ;
4+
5+ YEAR_NUM4 : ' YYYY' ;
6+ YEAR_NUM2 : ' YY' ;
7+
8+ MONTH_NAME : ' MMMM' ;
9+ MONTH_SHORT_NAME : ' MMM' ;
10+ MONTH_NUM2 : ' MM' ;
11+ MONTH_NUM : ' M' ;
12+
13+ WEEKDAY_NAME : ' DDDD' ;
14+ WEEKDAY_SHORT_NAME : ' DDD' ;
15+
16+ DAY_NUM2 : ' DD' ;
17+ DAY_NUM : ' D' ;
18+
19+ AM_PM : ' t' ;
20+
21+ HOUR_NUM2 : ' hh' ;
22+ HOUR_NUM : ' h' ;
23+
24+ MINUTE_NUM2 : ' mm' ;
25+ MINUTE_NUM : ' m' ;
26+
27+ SECOND_NUM2 : ' ss' ;
28+ SECOND_NUM : ' s' ;
29+
30+ FRACTION_NUM06 : ' ffffff' ;
31+ FRACTION_NUM05 : ' fffff' ;
32+ FRACTION_NUM04 : ' ffff' ;
33+ FRACTION_NUM03 : ' fff' ;
34+ FRACTION_NUM02 : ' ff' ;
35+ FRACTION_NUM01 : ' f' ;
36+
37+ FRACTION_NUM : ' F' ;
38+
39+ UTC_OFFSET_TIME2 : ' ZZZ' ;
40+ UTC_OFFSET_TIME1 : ' ZZ' ;
41+ UTC_OFFSET_HOUR : ' Z' ;
42+
43+ SYMBOL : [!-/:-@[-`{-~]+;
44+ WHITESPACE : [\n\r\t ]+;
45+
46+ TEXT : ' \' ' ( ~' \' ' | ' \'\' ' )* ' \' ' ;
47+
You can’t perform that action at this time.
0 commit comments