| Modifier and Type | Class and Description |
|---|---|
| public static class | StrptimeParser.
Ported Date::Format::Bag from lib/ruby/stdlib/date/format.rb in JRuby 9.1.5.0. |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final String[] | |
| private static final String[] | |
| private static final String[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | addToPattern(final List<StrptimeToken> compiledPattern, final String str)
Ported from RubyDateFormatter#addToPattern in JRuby 9.1.5.0. |
| public List | |
| public StrptimeParser. |
| DAY_NAMES | back to summary |
|---|---|
| private static final String[] DAY_NAMES | |
| MERID_NAMES | back to summary |
|---|---|
| private static final String[] MERID_NAMES | |
| MONTH_NAMES | back to summary |
|---|---|
| private static final String[] MONTH_NAMES | |
| StrptimeParser | back to summary |
|---|---|
| public StrptimeParser() | |
| addToPattern | back to summary |
|---|---|
| private void addToPattern(final List<StrptimeToken> compiledPattern, final String str) Ported from RubyDateFormatter#addToPattern in JRuby 9.1.5.0. see https://github.com/jruby/jruby/blob/036ce39f0476d4bd718e23e64caff36bb50b8dbc/core/src/main/java/org/jruby/util/RubyDateFormatter.java | |
| compilePattern | back to summary |
|---|---|
| public List Ported from RubyDateFormatter#compilePattern in JRuby 9.1.5.0. see https://github.com/jruby/jruby/blob/036ce39f0476d4bd718e23e64caff36bb50b8dbc/core/src/main/java/org/jruby/util/RubyDateFormatter.java | |
| parse | back to summary |
|---|---|
| public StrptimeParser. | |
| Modifier and Type | Field and Description |
|---|---|
| private long | |
| private int | |
| private int | |
| private long | |
| private int | |
| private String | |
| private int | |
| private int | |
| private int | |
| private int | |
| private int | |
| private Number | |
| private int | |
| private Number | |
| private int | |
| private int | |
| private int | |
| private int | |
| private int | |
| private long | |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public int | |
| public int | |
| public long | |
| public int | |
| public String | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public Number | |
| public int | |
| public Number | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public long | |
| public String | |
| public static boolean | |
| public static boolean | |
| public static boolean |
| cent | back to summary |
|---|---|
| private long cent | |
| cWDay | back to summary |
|---|---|
| private int cWDay | |
| cWeek | back to summary |
|---|---|
| private int cWeek | |
| cWYear | back to summary |
|---|---|
| private long cWYear | |
| hour | back to summary |
|---|---|
| private int hour | |
| leftover | back to summary |
|---|---|
| private String leftover | |
| mDay | back to summary |
|---|---|
| private int mDay | |
| merid | back to summary |
|---|---|
| private int merid | |
| min | back to summary |
|---|---|
| private int min | |
| mon | back to summary |
|---|---|
| private int mon | |
| sec | back to summary |
|---|---|
| private int sec | |
| secFraction | back to summary |
|---|---|
| private Number secFraction | |
| secFractionSize | back to summary |
|---|---|
| private int secFractionSize | |
| seconds | back to summary |
|---|---|
| private Number seconds | |
| secondsSize | back to summary |
|---|---|
| private int secondsSize | |
| wDay | back to summary |
|---|---|
| private int wDay | |
| wNum0 | back to summary |
|---|---|
| private int wNum0 | |
| wNum1 | back to summary |
|---|---|
| private int wNum1 | |
| yDay | back to summary |
|---|---|
| private int yDay | |
| year | back to summary |
|---|---|
| private long year | |
| zone | back to summary |
|---|---|
| private String zone | |
| FormatBag | back to summary |
|---|---|
| public FormatBag() | |
| getCent | back to summary |
|---|---|
| public long getCent() | |
| getCWDay | back to summary |
|---|---|
| public int getCWDay() | |
| getCWeek | back to summary |
|---|---|
| public int getCWeek() | |
| getCWYear | back to summary |
|---|---|
| public long getCWYear() | |
| getHour | back to summary |
|---|---|
| public int getHour() | |
| getLeftover | back to summary |
|---|---|
| public String getLeftover() | |
| getMDay | back to summary |
|---|---|
| public int getMDay() | |
| getMerid | back to summary |
|---|---|
| public int getMerid() | |
| getMin | back to summary |
|---|---|
| public int getMin() | |
| getMon | back to summary |
|---|---|
| public int getMon() | |
| getSec | back to summary |
|---|---|
| public int getSec() | |
| getSecFraction | back to summary |
|---|---|
| public Number getSecFraction() | |
| getSecFractionSize | back to summary |
|---|---|
| public int getSecFractionSize() | |
| getSeconds | back to summary |
|---|---|
| public Number getSeconds() | |
| getSecondsSize | back to summary |
|---|---|
| public int getSecondsSize() | |
| getWDay | back to summary |
|---|---|
| public int getWDay() | |
| getWNum0 | back to summary |
|---|---|
| public int getWNum0() | |
| getWNum1 | back to summary |
|---|---|
| public int getWNum1() | |
| getYDay | back to summary |
|---|---|
| public int getYDay() | |
| getYear | back to summary |
|---|---|
| public long getYear() | |
| getZone | back to summary |
|---|---|
| public String getZone() | |
| has | back to summary |
|---|---|
| public static boolean has(int v) | |
| has | back to summary |
|---|---|
| public static boolean has(long v) | |
| has | back to summary |
|---|---|
| public static boolean has(Number v) | |
| Modifier and Type | Field and Description |
|---|---|
| private final StrptimeParser. | |
| private boolean | |
| private static final EnumSet | |
| private int | |
| private final String | |
| private static final Pattern |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private int | |
| private static boolean | |
| private static boolean | |
| private static boolean | |
| private static boolean | |
| private static boolean | isNumberPattern(final List<StrptimeToken> compiledPattern, final int i)
Ports num_pattern_p from ext/date/date_strptime.c in MRI 2.3.1 under BSDL. |
| private static boolean | |
| private static boolean | |
| private static Number | |
| private StrptimeParser. | |
| private long | |
| private Number | Returns: integer value (Long or BigInteger)Ports READ_DIGITS_MAX from ext/date/date_strptime.c in MRI 2.3.1 under BSDL. |
| private long | |
| private static int | |
| private static boolean | validRange(long v, int lower, int upper)
Ports valid_pattern_p in ext/date/date_strptime.c in MRI 2.3.1 under BSDL. |
| bag | back to summary |
|---|---|
| private final StrptimeParser. | |
| fail | back to summary |
|---|---|
| private boolean fail | |
| NUMBER_PATTERNS | back to summary |
|---|---|
| private static final EnumSet<StrptimeFormat> NUMBER_PATTERNS | |
| pos | back to summary |
|---|---|
| private int pos | |
| text | back to summary |
|---|---|
| private final String text | |
| ZONE_PARSE_REGEX | back to summary |
|---|---|
| private static final Pattern ZONE_PARSE_REGEX | |
| StringParser | back to summary |
|---|---|
| private StringParser(String text) | |
| findIndexInPatterns | back to summary |
|---|---|
| private int findIndexInPatterns(final String[] patterns) Returns -1 if text doesn't match with patterns. | |
| isBlank | back to summary |
|---|---|
| private static boolean isBlank(String text, int pos) | |
| isDigit | back to summary |
|---|---|
| private static boolean isDigit(char c) | |
| isEndOfText | back to summary |
|---|---|
| private static boolean isEndOfText(String text, int pos) | |
| isMinus | back to summary |
|---|---|
| private static boolean isMinus(String text, int pos) | |
| isNumberPattern | back to summary |
|---|---|
| private static boolean isNumberPattern(final List<StrptimeToken> compiledPattern, final int i) Ports num_pattern_p from ext/date/date_strptime.c in MRI 2.3.1 under BSDL. see https://github.com/ruby/ruby/blob/394fa89c67722d35bdda89f10c7de5c304a5efb1/ext/date/date_strftime.c | |
| isSign | back to summary |
|---|---|
| private static boolean isSign(String text, int pos) | |
| isSpace | back to summary |
|---|---|
| private static boolean isSpace(char c) | |
| negateInteger | back to summary |
|---|---|
| private static Number negateInteger(final Number i) | |
| parse | back to summary |
|---|---|
| private StrptimeParser. | |
| readDigits | back to summary |
|---|---|
| private long readDigits(final int len) Ports read_digits from ext/date/date_strptime.c in MRI 2.3.1 under BSDL. see https://github.com/ruby/ruby/blob/394fa89c67722d35bdda89f10c7de5c304a5efb1/ext/date/date_strftime.c | |
| readDigitsMax | back to summary |
|---|---|
| private Number readDigitsMax() Ports READ_DIGITS_MAX from ext/date/date_strptime.c in MRI 2.3.1 under BSDL. see https://github.com/ruby/ruby/blob/394fa89c67722d35bdda89f10c7de5c304a5efb1/ext/date/date_strftime.c
| |
| readDigitsMaxLong | back to summary |
|---|---|
| private long readDigitsMaxLong() | |
| toInt | back to summary |
|---|---|
| private static int toInt(char c) | |
| validRange | back to summary |
|---|---|
| private static boolean validRange(long v, int lower, int upper) Ports valid_pattern_p in ext/date/date_strptime.c in MRI 2.3.1 under BSDL. see https://github.com/ruby/ruby/blob/394fa89c67722d35bdda89f10c7de5c304a5efb1/ext/date/date_strftime.c | |