@Deprecated
public class RubyDateFormat
extends java.text.DateFormat
AM_PM_FIELD, calendar, DATE_FIELD, DAY_OF_WEEK_FIELD, DAY_OF_WEEK_IN_MONTH_FIELD, DAY_OF_YEAR_FIELD, DEFAULT, ERA_FIELD, FULL, HOUR_OF_DAY0_FIELD, HOUR_OF_DAY1_FIELD, HOUR0_FIELD, HOUR1_FIELD, LONG, MEDIUM, MILLISECOND_FIELD, MINUTE_FIELD, MONTH_FIELD, numberFormat, SECOND_FIELD, SHORT, TIMEZONE_FIELD, WEEK_OF_MONTH_FIELD, WEEK_OF_YEAR_FIELD, YEAR_FIELD| Constructor and Description |
|---|
RubyDateFormat()
Deprecated.
Constructor for RubyDateFormat.
|
RubyDateFormat(java.lang.String pattern,
java.text.DateFormatSymbols formatSymbols)
Deprecated.
|
RubyDateFormat(java.lang.String pattern,
java.util.Locale aLocale)
Deprecated.
|
RubyDateFormat(java.lang.String pattern,
java.util.Locale aLocale,
boolean ruby_1_9)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyPattern(java.lang.String pattern)
Deprecated.
|
void |
applyPattern(java.lang.String pattern,
boolean dateLibrary)
Deprecated.
|
java.lang.StringBuffer |
format(java.util.Date ignored,
java.lang.StringBuffer toAppendTo,
java.text.FieldPosition fieldPosition)
Deprecated.
|
java.util.Date |
parse(java.lang.String source,
java.text.ParsePosition pos)
Deprecated.
|
void |
setDateTime(org.joda.time.DateTime dt)
Deprecated.
|
void |
setNSec(long nsec)
Deprecated.
|
clone, equals, format, format, getAvailableLocales, getCalendar, getDateInstance, getDateInstance, getDateInstance, getDateTimeInstance, getDateTimeInstance, getDateTimeInstance, getInstance, getNumberFormat, getTimeInstance, getTimeInstance, getTimeInstance, getTimeZone, hashCode, isLenient, parse, parseObject, setCalendar, setLenient, setNumberFormat, setTimeZonepublic RubyDateFormat()
public RubyDateFormat(java.lang.String pattern,
java.util.Locale aLocale)
public RubyDateFormat(java.lang.String pattern,
java.util.Locale aLocale,
boolean ruby_1_9)
public RubyDateFormat(java.lang.String pattern,
java.text.DateFormatSymbols formatSymbols)
public void applyPattern(java.lang.String pattern)
public void applyPattern(java.lang.String pattern,
boolean dateLibrary)
public void setDateTime(org.joda.time.DateTime dt)
public void setNSec(long nsec)
public java.lang.StringBuffer format(java.util.Date ignored,
java.lang.StringBuffer toAppendTo,
java.text.FieldPosition fieldPosition)
format in class java.text.DateFormatDateFormat.format(Date, StringBuffer, FieldPosition)public java.util.Date parse(java.lang.String source,
java.text.ParsePosition pos)
parse in class java.text.DateFormatDateFormat.parse(String, ParsePosition)Copyright © 2001-2019 JRuby. All Rights Reserved.