| Modifier and Type | Class and Description |
|---|---|
| pack-priv static enum | |
| public static enum | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final ByteList | |
| private static final ByteList | |
| private static final ByteList | |
| public static RubyDateFormatter. | |
| private RubyDateFormatter. | |
| private int | |
| private static final RubyDateFormatter. | |
| public static RubyDateFormatter. | |
| public static RubyDateFormatter. | |
| private static final String[] | |
| private static final String[] | |
| private static final String[] | |
| private static final String[] | |
| private final StrftimeLexer | |
| private Encoding | |
| private static final ByteList | |
| private final Ruby | |
| public static RubyDateFormatter. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| public RubyString | compileAndFormat(ByteList pattern, boolean dateLibrary, DateTime dt, long nsec, RubyNumeric sub_millis)
Convenience method when using no pattern caching |
| public void | |
| public RubyString | |
| private static void | formatSubMillisGt3(ThreadContext context, final ByteList buff, final int width, RubyNumeric sub_millis)
|
| private ByteList | formatToByteList(RubyDateFormatter.
|
| private static int | |
| private static ByteList | |
| private void | |
| public Date | |
| private static int |
| AM | back to summary |
|---|---|
| private static final ByteList AM | |
| CAPITAL_AM | back to summary |
|---|---|
| private static final ByteList CAPITAL_AM | |
| CAPITAL_PM | back to summary |
|---|---|
| private static final ByteList CAPITAL_PM | |
| COLON_TOKEN | back to summary |
|---|---|
| public static RubyDateFormatter. | |
| compiledPattern | back to summary |
|---|---|
| private RubyDateFormatter. | |
| compiledPatternLength | back to summary |
|---|---|
| private int compiledPatternLength | |
| CONVERSION2TOKEN | back to summary |
|---|---|
| private static final RubyDateFormatter. | |
| DASH_TOKEN | back to summary |
|---|---|
| public static RubyDateFormatter. | |
| DOT_TOKEN | back to summary |
|---|---|
| public static RubyDateFormatter. | |
| FORMAT_MONTHS | back to summary |
|---|---|
| private static final String[] FORMAT_MONTHS | |
| FORMAT_SHORT_MONTHS | back to summary |
|---|---|
| private static final String[] FORMAT_SHORT_MONTHS | |
| FORMAT_SHORT_WEEKDAYS | back to summary |
|---|---|
| private static final String[] FORMAT_SHORT_WEEKDAYS | |
| FORMAT_WEEKDAYS | back to summary |
|---|---|
| private static final String[] FORMAT_WEEKDAYS | |
| lexer | back to summary |
|---|---|
| private final StrftimeLexer lexer | |
| patternEncoding | back to summary |
|---|---|
| private Encoding patternEncoding | |
| PM | back to summary |
|---|---|
| private static final ByteList PM | |
| runtime | back to summary |
|---|---|
| private final Ruby runtime | |
| SLASH_TOKEN | back to summary |
|---|---|
| public static RubyDateFormatter. | |
| RubyDateFormatter | back to summary |
|---|---|
| public RubyDateFormatter(ThreadContext context) Constructor for RubyDateFormatter. | |
| addToken | back to summary |
|---|---|
| private void addToken(RubyDateFormatter. | |
| addToPattern | back to summary |
|---|---|
| private void addToPattern(String str) | |
| compileAndFormat | back to summary |
|---|---|
| public RubyString compileAndFormat(ByteList pattern, boolean dateLibrary, DateTime dt, long nsec, RubyNumeric sub_millis) Convenience method when using no pattern caching | |
| compilePattern | back to summary |
|---|---|
| public void compilePattern(ByteList pattern, boolean dateLibrary) | |
| format | back to summary |
|---|---|
| public RubyString format(RubyDateFormatter. | |
| formatSubMillisGt3 | back to summary |
|---|---|
| private static void formatSubMillisGt3(ThreadContext context, final ByteList buff, final int width, RubyNumeric sub_millis) | |
| formatToByteList | back to summary |
|---|---|
| private ByteList formatToByteList(RubyDateFormatter. | |
| formatWeekYear | back to summary |
|---|---|
| private static int formatWeekYear(DateTime dt, int firstDayOfWeek) | |
| formatZone | back to summary |
|---|---|
| private static ByteList formatZone(int colons, int value, RubyTimeOutputFormatter formatter) | |
| growTokens | back to summary |
|---|---|
| private void growTokens() | |
| parse | back to summary |
|---|---|
| public Date parse(String source, ParsePosition pos) | |
| year | back to summary |
|---|---|
| private static int year(DateTime dt, int year) Ruby always follows Astronomical year numbering, that is BC x is -x+1 and there is a year 0 (BC 1) but Joda-time returns -x for year x BC in Julian chronology (no year 0) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final char | |
| pack-priv final int | |
| public static final RubyDateFormatter. | |
| public static final RubyDateFormatter. | |
| public static final RubyDateFormatter. | |
| public static final RubyDateFormatter. | |
| public static final RubyDateFormatter. | |
| public static final RubyDateFormatter. | |
| public static final RubyDateFormatter. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static RubyDateFormatter. | |
| public static RubyDateFormatter. |
| defaultPadder | back to summary |
|---|---|
| pack-priv final char defaultPadder | |
| defaultWidth | back to summary |
|---|---|
| pack-priv final int defaultWidth | |
| NUMERIC | back to summary |
|---|---|
| public static final RubyDateFormatter. | |
| NUMERIC2 | back to summary |
|---|---|
| public static final RubyDateFormatter. | |
| NUMERIC2BLANK | back to summary |
|---|---|
| public static final RubyDateFormatter. | |
| NUMERIC3 | back to summary |
|---|---|
| public static final RubyDateFormatter. | |
| NUMERIC4 | back to summary |
|---|---|
| public static final RubyDateFormatter. | |
| NUMERIC5 | back to summary |
|---|---|
| public static final RubyDateFormatter. | |
| TEXT | back to summary |
|---|---|
| public static final RubyDateFormatter. | |
| FieldType | back to summary |
|---|---|
| private FieldType(char padder, int width) | |
| valueOf | back to summary |
|---|---|
| public static RubyDateFormatter. | |
| values | back to summary |
|---|---|
| public static RubyDateFormatter. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final RubyDateFormatter. | |
| public static final RubyDateFormatter. | FORMAT_COLON_ZONE_OFF
%z, %:z, %::z, %:::z |
| public static final RubyDateFormatter. | |
| public static final RubyDateFormatter. | |
| public static final RubyDateFormatter. | |
| public static final RubyDateFormatter. | |
| public static final RubyDateFormatter. | |
| public static final RubyDateFormatter. | |
| public static final RubyDateFormatter. | |
| public static final RubyDateFormatter. | |
| public static final RubyDateFormatter. | |
| public static final RubyDateFormatter. | |
| public static final RubyDateFormatter. | |
| public static final RubyDateFormatter. | |
| public static final RubyDateFormatter. | |
| public static final RubyDateFormatter. | |
| public static final RubyDateFormatter. | |
| public static final RubyDateFormatter. | |
| public static final RubyDateFormatter. | |
| public static final RubyDateFormatter. | FORMAT_MONTH_SHORT
%b, %h |
| public static final RubyDateFormatter. | |
| public static final RubyDateFormatter. | FORMAT_OUTPUT
formatter |
| public static final RubyDateFormatter. | |
| public static final RubyDateFormatter. | FORMAT_SPECIAL
composition of other formats, or depends on library |
| public static final RubyDateFormatter. | FORMAT_STRING
raw string, no formatting |
| public static final RubyDateFormatter. | |
| public static final RubyDateFormatter. | |
| public static final RubyDateFormatter. | |
| public static final RubyDateFormatter. | |
| public static final RubyDateFormatter. | |
| public static final RubyDateFormatter. | |
| public static final RubyDateFormatter. | |
| public static final RubyDateFormatter. | |
| public static final RubyDateFormatter. | |
| public static final RubyDateFormatter. |
| Access | Constructor and Description |
|---|---|
| private | |
| private | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| private static RubyDateFormatter. | |
| public static RubyDateFormatter. | |
| public static RubyDateFormatter. |
| FORMAT_CENTURY | back to summary |
|---|---|
| public static final RubyDateFormatter. %C | |
| FORMAT_COLON_ZONE_OFF | back to summary |
|---|---|
| public static final RubyDateFormatter. %z, %:z, %::z, %:::z | |
| FORMAT_DAY | back to summary |
|---|---|
| public static final RubyDateFormatter. %d | |
| FORMAT_DAY_S | back to summary |
|---|---|
| public static final RubyDateFormatter. %e | |
| FORMAT_DAY_WEEK | back to summary |
|---|---|
| public static final RubyDateFormatter. %w | |
| FORMAT_DAY_WEEK2 | back to summary |
|---|---|
| public static final RubyDateFormatter. %u | |
| FORMAT_DAY_YEAR | back to summary |
|---|---|
| public static final RubyDateFormatter. %j | |
| FORMAT_EPOCH | back to summary |
|---|---|
| public static final RubyDateFormatter. %s | |
| FORMAT_HOUR | back to summary |
|---|---|
| public static final RubyDateFormatter. %H | |
| FORMAT_HOUR_BLANK | back to summary |
|---|---|
| public static final RubyDateFormatter. %k | |
| FORMAT_HOUR_M | back to summary |
|---|---|
| public static final RubyDateFormatter. %I | |
| FORMAT_HOUR_S | back to summary |
|---|---|
| public static final RubyDateFormatter. %l | |
| FORMAT_MERIDIAN | back to summary |
|---|---|
| public static final RubyDateFormatter. %p | |
| FORMAT_MERIDIAN_LOWER_CASE | back to summary |
|---|---|
| public static final RubyDateFormatter. %P | |
| FORMAT_MICROSEC_EPOCH | back to summary |
|---|---|
| public static final RubyDateFormatter. %Q | |
| FORMAT_MILLISEC | back to summary |
|---|---|
| public static final RubyDateFormatter. %L | |
| FORMAT_MINUTES | back to summary |
|---|---|
| public static final RubyDateFormatter. %M | |
| FORMAT_MONTH | back to summary |
|---|---|
| public static final RubyDateFormatter. %m | |
| FORMAT_MONTH_LONG | back to summary |
|---|---|
| public static final RubyDateFormatter. %B | |
| FORMAT_MONTH_SHORT | back to summary |
|---|---|
| public static final RubyDateFormatter. %b, %h | |
| FORMAT_NANOSEC | back to summary |
|---|---|
| public static final RubyDateFormatter. %N | |
| FORMAT_OUTPUT | back to summary |
|---|---|
| public static final RubyDateFormatter. formatter | |
| FORMAT_SECONDS | back to summary |
|---|---|
| public static final RubyDateFormatter. %S | |
| FORMAT_SPECIAL | back to summary |
|---|---|
| public static final RubyDateFormatter. composition of other formats, or depends on library | |
| FORMAT_STRING | back to summary |
|---|---|
| public static final RubyDateFormatter. raw string, no formatting | |
| FORMAT_WEEK_LONG | back to summary |
|---|---|
| public static final RubyDateFormatter. %A | |
| FORMAT_WEEK_SHORT | back to summary |
|---|---|
| public static final RubyDateFormatter. %a | |
| FORMAT_WEEK_WEEKYEAR | back to summary |
|---|---|
| public static final RubyDateFormatter. %V | |
| FORMAT_WEEK_YEAR_M | back to summary |
|---|---|
| public static final RubyDateFormatter. %W | |
| FORMAT_WEEK_YEAR_S | back to summary |
|---|---|
| public static final RubyDateFormatter. %U | |
| FORMAT_WEEKYEAR | back to summary |
|---|---|
| public static final RubyDateFormatter. %G | |
| FORMAT_WEEKYEAR_SHORT | back to summary |
|---|---|
| public static final RubyDateFormatter. %g | |
| FORMAT_YEAR_LONG | back to summary |
|---|---|
| public static final RubyDateFormatter. %Y | |
| FORMAT_YEAR_SHORT | back to summary |
|---|---|
| public static final RubyDateFormatter. %y | |
| FORMAT_ZONE_ID | back to summary |
|---|---|
| public static final RubyDateFormatter. %Z | |
| Format | back to summary |
|---|---|
| private Format() | |
| Format | back to summary |
|---|---|
| private Format(char conversion) | |
| Format | back to summary |
|---|---|
| private Format(char conversion, char alias) | |
| addToConversions | back to summary |
|---|---|
| private static void addToConversions(char conversion, RubyDateFormatter. | |
| conversionToToken | back to summary |
|---|---|
| private static RubyDateFormatter. | |
| valueOf | back to summary |
|---|---|
| public static RubyDateFormatter. | |
| values | back to summary |
|---|---|
| public static RubyDateFormatter. | |
| Modifier and Type | Field and Description |
|---|---|
| protected Object | |
| private final RubyDateFormatter. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static RubyDateFormatter. | |
| public static RubyDateFormatter. | |
| public Object | |
| public RubyDateFormatter. | |
| public static RubyDateFormatter. | |
| public static RubyDateFormatter. | |
| public String | |
| public static RubyDateFormatter. |
| data | back to summary |
|---|---|
| protected Object data | |
| format | back to summary |
|---|---|
| private final RubyDateFormatter. | |
| Token | back to summary |
|---|---|
| protected Token(RubyDateFormatter. | |
| Token | back to summary |
|---|---|
| public Token(RubyDateFormatter. | |
| format | back to summary |
|---|---|
| public static RubyDateFormatter. | |
| formatter | back to summary |
|---|---|
| public static RubyDateFormatter. | |
| getData | back to summary |
|---|---|
| public Object getData() Gets the data.
| |
| getFormat | back to summary |
|---|---|
| public RubyDateFormatter. Gets the format.
| |
| special | back to summary |
|---|---|
| public static RubyDateFormatter. | |
| str | back to summary |
|---|---|
| public static RubyDateFormatter. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| zoneOffsetColons | back to summary |
|---|---|
| public static RubyDateFormatter. | |