java.lang.Object
javafx.util.StringConverter<Date>
javafx.util.converter.DateTimeStringConverter
javafx.util.converter.DateStringConverter
public class DateStringConverter extends DateTimeStringConverter
StringConverter implementation for Date values.
- Since:
- JavaFX 2.1
- See Also:
- TimeStringConverter,- DateTimeStringConverter
- 
Field SummaryFields inherited from class javafx.util.converter.DateTimeStringConverterdateFormat, dateStyle, locale, pattern, timeStyle
- 
Constructor SummaryConstructors Constructor Description DateStringConverter()DateStringConverter(int dateStyle)DateStringConverter(String pattern)Create aStringConverterforDatevalues, using the specified pattern.DateStringConverter(DateFormat dateFormat)DateStringConverter(Locale locale)Create aStringConverterforDatevalues, using the specified locale and theDateFormat.DEFAULTdate style.DateStringConverter(Locale locale, int dateStyle)DateStringConverter(Locale locale, String pattern)Create aStringConverterforDatevalues, using the specified locale and pattern.
- 
Method SummaryModifier and Type Method Description protected DateFormatgetDateFormat()Return aDateFormatinstance to use for formatting and parsing in thisStringConverter.
- 
Constructor Details- 
DateStringConverterpublic DateStringConverter()
- 
DateStringConverterpublic DateStringConverter(int dateStyle)- Parameters:
- dateStyle- the given formatting style. For example,- DateFormat.SHORTfor "M/d/yy" in the US locale.
- Since:
- JavaFX 8u40
 
- 
DateStringConverterCreate aStringConverterforDatevalues, using the specified locale and theDateFormat.DEFAULTdate style.- Parameters:
- locale- the given locale.
 
- 
DateStringConverter- Parameters:
- locale- the given locale.
- dateStyle- the given formatting style. For example,- DateFormat.SHORTfor "M/d/yy" in the US locale.
- Since:
- JavaFX 8u40
 
- 
DateStringConverterCreate aStringConverterforDatevalues, using the specified pattern.- Parameters:
- pattern- the pattern describing the date format.
 
- 
DateStringConverterCreate aStringConverterforDatevalues, using the specified locale and pattern.- Parameters:
- locale- the given locale.
- pattern- the pattern describing the date format.
 
- 
DateStringConverter- Parameters:
- dateFormat- the- DateFormatto be used for formatting and parsing.
 
 
- 
- 
Method Details- 
getDateFormatReturn a DateFormatinstance to use for formatting and parsing in thisStringConverter.- Overrides:
- getDateFormatin class- DateTimeStringConverter
- Returns:
- a DateFormatinstance for formatting and parsing in thisStringConverter
 
 
-