public class DateTimeFormatterCrowdBackupDateConverter extends Object implements CrowdBackupDateConverter
DateTimeFormatter
pattern with the timezone set to UTC.
Used for imports for Crowd versions from 3.3.0 onward.Constructor and Description |
---|
DateTimeFormatterCrowdBackupDateConverter(String pattern) |
Modifier and Type | Method and Description |
---|---|
String |
formatDate(Date date)
|
static DateTimeFormatterCrowdBackupDateConverter |
getDefault() |
Date |
parseDate(String date)
|
public DateTimeFormatterCrowdBackupDateConverter(String pattern)
public Date parseDate(String date)
CrowdBackupDateConverter
parseDate
in interface CrowdBackupDateConverter
date
- the string to parsepublic String formatDate(Date date)
CrowdBackupDateConverter
formatDate
in interface CrowdBackupDateConverter
date
- the Date
to formatpublic static DateTimeFormatterCrowdBackupDateConverter getDefault()
Copyright © 2020 Atlassian. All rights reserved.