public class LocalDateShortStyleFormatter extends Object implements DateFormatter
A date formatter for formatting dates in the current locale in short format.
Note
|
Does not support parsing. |
Constructor and Description |
---|
LocalDateShortStyleFormatter() |
Modifier and Type | Method and Description |
---|---|
String |
format(Date date) |
Date |
parse(String date) |
boolean |
supportsParse() |
public String format(Date date)
format
in interface DateFormatter
public Date parse(String date) throws ParseException
parse
in interface DateFormatter
ParseException
public boolean supportsParse()
supportsParse
in interface DateFormatter
Copyright © 2021. All Rights Reserved.