@Deprecated public class TimeOutputFormatter extends Object
Modifier and Type | Field and Description |
---|---|
static TimeOutputFormatter |
DEFAULT_FORMATTER
Deprecated.
|
Constructor and Description |
---|
TimeOutputFormatter(String format,
int width)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
format(String sequence,
long value,
org.jruby.util.RubyDateFormat.FieldType type)
Deprecated.
|
String |
getFormat()
Deprecated.
|
static TimeOutputFormatter |
getFormatter(String pattern)
Deprecated.
|
int |
getNumberOfColons()
Deprecated.
|
char |
getPadder(char defaultPadder)
Deprecated.
|
int |
getWidth(int defaultWidth)
Deprecated.
|
public static final TimeOutputFormatter DEFAULT_FORMATTER
public TimeOutputFormatter(String format, int width)
public static TimeOutputFormatter getFormatter(String pattern)
public String getFormat()
public int getNumberOfColons()
public int getWidth(int defaultWidth)
public char getPadder(char defaultPadder)
public String format(String sequence, long value, org.jruby.util.RubyDateFormat.FieldType type)
Copyright © 2001-2013 JRuby. All Rights Reserved.