public class SimpleDateGrammar
extends org.vesalainen.grammar.Grammar
| Modifier and Type | Field and Description |
|---|---|
protected ExecutableElement[] |
ampm |
protected ExecutableElement[] |
era |
protected DateFormatParser |
formatParser |
protected Locale |
locale |
protected ExecutableElement[] |
month |
protected Set<String> |
patternSet |
protected DateFormatSymbols |
symbols |
protected ExecutableElement[] |
weekday |
| Modifier | Constructor and Description |
|---|---|
protected |
SimpleDateGrammar(Locale locale,
Class<?> superClass) |
protected |
SimpleDateGrammar(Locale locale,
DateFormatSymbols symbols,
Class<?> superClass) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addPattern(String pattern)
Adds a date pattern in java.text.SimpleDateFormat format.
|
protected void |
addPattern(String lhs,
String pattern)
Adds a date pattern in java.text.SimpleDateFormat format.
|
addAnonymousTerminal, addRule, addRule, addRule, addRule, addRule, addRule, addSyntheticRule, addSyntheticRule, addTerminal, addTerminal, createParserGenerator, getLrkLevel, getMaxStack, getNumber, getParserGenerator, getRuleDescriptions, getSymbol, getSymbols, getTypeForNonterminal, hasNonterminal, hasTerminal, isAnonymousTerminal, literal, print, printAnnotations, quantifierRules, setLrkLevel, setMaxStackprotected DateFormatParser formatParser
protected Locale locale
protected DateFormatSymbols symbols
protected ExecutableElement[] era
protected ExecutableElement[] month
protected ExecutableElement[] weekday
protected ExecutableElement[] ampm
protected SimpleDateGrammar(Locale locale, Class<?> superClass) throws UnsupportedOperationException, IOException
protected SimpleDateGrammar(Locale locale, DateFormatSymbols symbols, Class<?> superClass) throws UnsupportedOperationException, IOException
protected void addPattern(String pattern) throws IOException, org.vesalainen.regex.SyntaxErrorException, NoSuchMethodException
pattern - IOExceptionorg.vesalainen.regex.SyntaxErrorExceptionNoSuchMethodExceptionprotected void addPattern(String lhs, String pattern) throws IOException
lhs - pattern - IOExceptionCopyright © 2014. All rights reserved.