Spec-Zone .ru
спецификации, руководства, описания, API
|
public class DateStringConverter extends DateTimeStringConverter
StringConverter
implementation for Date
values.
TimeStringConverter
,
DateTimeStringConverter
dateFormat, locale, pattern
Constructor and Description |
---|
DateStringConverter() |
DateStringConverter(java.text.DateFormat dateFormat) |
DateStringConverter(java.util.Locale locale) |
DateStringConverter(java.util.Locale locale,
java.lang.String pattern) |
DateStringConverter(java.lang.String pattern) |
Modifier and Type | Method and Description |
---|---|
protected java.text.DateFormat |
getDateFormat()
Return a
DateFormat instance to use for formatting
and parsing in this StringConverter . |
fromString, toString
public DateStringConverter()
public DateStringConverter(java.util.Locale locale)
public DateStringConverter(java.lang.String pattern)
public DateStringConverter(java.util.Locale locale, java.lang.String pattern)
public DateStringConverter(java.text.DateFormat dateFormat)
protected java.text.DateFormat getDateFormat()
Return a DateFormat
instance to use for formatting
and parsing in this StringConverter
.
getDateFormat
in class DateTimeStringConverter
Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to