public class CsvDateFormatterImpl extends Object implements CsvDateFormatter
Constructor and Description |
---|
CsvDateFormatterImpl(DateTimeFormatterFactory formatterFactory) |
Modifier and Type | Method and Description |
---|---|
String |
formatDate(Date date)
Convert a date to a valid value
|
String |
formatDateTime(Date date)
Convert a date to a valid CSV value including the time
|
public CsvDateFormatterImpl(DateTimeFormatterFactory formatterFactory)
@Nullable public String formatDateTime(@Nullable Date date)
CsvDateFormatter
formatDateTime
in interface CsvDateFormatter
date
- to format@Nullable public String formatDate(@Nullable Date date)
CsvDateFormatter
formatDate
in interface CsvDateFormatter
date
- to formatCopyright © 2002-2017 Atlassian. All Rights Reserved.