|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DateTimeFieldChangeLogHelper
A helper component which can be used by (custom)fields to store date/time information in the issue change history.
| Method Summary | |
|---|---|
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(). |
| Method Detail |
|---|
String createChangelogValueForDateTimeField(Date date)
date - the value Date of the (custome)field
String createChangelogValueForDateField(Date date)
date - date the value Date of the (custome)field
String renderChangeHistoryValueDate(String dateValue,
String dateStr)
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)
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||