Package com.atlassian.jira.datetime
Interface VersionDateFormatter
- All Known Implementing Classes:
VersionDateFormatterImpl
public interface VersionDateFormatter
Formats dates for Jira versions (releases), with special handling for date preservation.
When enabled via
VERSION_PARSE_WITH_DATE_PRESERVATION, uses DateTimeConverter
to infer the utc offset of midnight timestamps (JRASERVER-76438).-
Method Summary
-
Method Details
-
format
Formats a date according to the configured settings. When date preservation is enabled, ensures midnight timestamps are displayed in their intended date.- Parameters:
date- the date to format- Returns:
- the formatted date string or null if the input date is null
-