Class LegacyCrowdBackupDateConverter
java.lang.Object
com.atlassian.crowd.migration.date.LegacyCrowdBackupDateConverter
- All Implemented Interfaces:
CrowdBackupDateConverter
Parses and formats dates using the date format used in Crowd before 3.3.0. The format is locale dependent, so care
must be taken that the JVM's locale is the same as the locale used during the creation of the backup.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
LegacyCrowdBackupDateConverter
public LegacyCrowdBackupDateConverter()
-
-
Method Details
-
parseDate
Description copied from interface:CrowdBackupDateConverter
- Specified by:
parseDate
in interfaceCrowdBackupDateConverter
- Parameters:
date
- the string to parse- Returns:
- the parsed date
-
formatDate
Description copied from interface:CrowdBackupDateConverter
- Specified by:
formatDate
in interfaceCrowdBackupDateConverter
- Parameters:
date
- theDate
to format- Returns:
- the formatted date
-