All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.relogiclabs.json.schema.internal.grammar.DateTimeLexer.g4 Maven / Gradle / Ivy

Go to download

The New JSON Schema prioritizes simplicity, conciseness, and readability, making it user-friendly and accessible without the need for extensive prior knowledge. It offers efficient read-write facilities, precise JSON document definition through various data types and functions, and extensibility to meet modern web service diverse requirements.

There is a newer version: 1.12.1
Show newest version
lexer grammar DateTimeLexer;

ERA : 'G';

YEAR_NUMBER4 : 'YYYY';
YEAR_NUMBER2 : 'YY';

MONTH_NAME : 'MMMM';
MONTH_SHORT_NAME : 'MMM';
MONTH_NUMBER2 : 'MM';
MONTH_NUMBER : 'M';

WEEKDAY_NAME : 'DDDD';
WEEKDAY_SHORT_NAME : 'DDD';

DAY_NUMBER2 : 'DD';
DAY_NUMBER : 'D';

CLOCK_AM_PM : 't';

HOUR_NUMBER2 : 'hh';
HOUR_NUMBER : 'h';

MINUTE_NUMBER2 : 'mm';
MINUTE_NUMBER : 'm';

SECOND_NUMBER2 : 'ss';
SECOND_NUMBER : 's';

FRACTION_NUMBER6 : 'ffffff';
FRACTION_NUMBER5 : 'fffff';
FRACTION_NUMBER4 : 'ffff';
FRACTION_NUMBER3 : 'fff';
FRACTION_NUMBER2 : 'ff';
FRACTION_NUMBER1 : 'f';

FRACTION_NUMBER : 'F';

UTC_OFFSET_TIME2 : 'ZZZ';
UTC_OFFSET_TIME1 : 'ZZ';
UTC_OFFSET_HOUR : 'Z';

SYMBOL : [!-/:-@[-`{-~]+;
WHITESPACE : [\n\r\t ]+;

TEXT : '\'' ( ~'\'' | '\'\'')* '\'';




© 2015 - 2024 Weber Informatics LLC | Privacy Policy