public class RubyTimeOutputFormatter extends RubyDateFormatter.Token
| Modifier and Type | Field and Description |
|---|---|
static RubyTimeOutputFormatter |
DEFAULT_FORMATTER |
data| Constructor and Description |
|---|
RubyTimeOutputFormatter(ByteList flags,
int width) |
| Modifier and Type | Method and Description |
|---|---|
void |
format(ByteList out,
java.lang.CharSequence sequence) |
void |
format(ByteList out,
long value,
org.jruby.util.RubyDateFormatter.FieldType type) |
char |
getPadder(char defaultPadder) |
int |
getWidth(int defaultWidth) |
java.lang.String |
toString() |
format, formatter, getData, getFormat, special, str, zoneOffsetColonspublic static final RubyTimeOutputFormatter DEFAULT_FORMATTER
public RubyTimeOutputFormatter(ByteList flags, int width)
public int getWidth(int defaultWidth)
public char getPadder(char defaultPadder)
public void format(ByteList out, long value, org.jruby.util.RubyDateFormatter.FieldType type)
public void format(ByteList out, java.lang.CharSequence sequence)
public java.lang.String toString()
toString in class RubyDateFormatter.TokenCopyright © 2001-2022 JRuby. All Rights Reserved.