public interface DateTimeFieldChangeLogHelper
| Modifier and Type | Method and Description |
|---|---|
String |
createChangelogValueForDateField(Date date)
Converts a Date into a string representation for the issue change history.
|
String |
createChangelogValueForDateTimeField(Date date)
Converts a Date into a string representation for the issue change history.
|
String |
renderChangeHistoryValueDate(String dateValue,
String dateStr)
Use this method to render a value for the issue change history that has been stored using the method createChangelogValueForDateField().
|
String |
renderChangeHistoryValueDateTime(String dateTimeValue,
String dateTimeString)
Use this method to render a value for the issue change history that has been stored using the method createChangelogValueForDateTimeField().
|
String createChangelogValueForDateTimeField(Date date)
date - the value Date of the (custome)fieldString createChangelogValueForDateField(Date date)
date - date the value Date of the (custome)fieldString renderChangeHistoryValueDate(String dateValue, String dateStr)
com.atlassian.jira.datetime.DateTimeStyle.DATE formatter is used to render the change history value.dateValue - the value of the ChangeHistoryItemdateStr - the string of the ChangeHistoryItem, if it can't convert the dateValue it will return the dateStr.String renderChangeHistoryValueDateTime(String dateTimeValue, String dateTimeString)
com.atlassian.jira.datetime.DateTimeStyle.DATE_TIME_PICKER formatter is used to render the change history value.dateTimeValue - the value of the ChangeHistoryItemdateTimeString - the string of the ChangeHistoryItem, if it can't convert the dateTimeValue it will return the dateStr.Copyright © 2002-2023 Atlassian. All Rights Reserved.