|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.issue.history.DateTimeFieldChangeLogHelperImpl
public class DateTimeFieldChangeLogHelperImpl
| Constructor Summary | |
|---|---|
DateTimeFieldChangeLogHelperImpl(DateTimeFormatterFactory dateTimeFormatterFactory)
|
|
| 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(). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DateTimeFieldChangeLogHelperImpl(DateTimeFormatterFactory dateTimeFormatterFactory)
| Method Detail |
|---|
public String createChangelogValueForDateTimeField(Date date)
DateTimeFieldChangeLogHelper
createChangelogValueForDateTimeField in interface DateTimeFieldChangeLogHelperdate - the value Date of the (custome)field
public String createChangelogValueForDateField(Date date)
DateTimeFieldChangeLogHelper
createChangelogValueForDateField in interface DateTimeFieldChangeLogHelperdate - date the value Date of the (custome)field
public String renderChangeHistoryValueDate(String dateValue,
String dateStr)
DateTimeFieldChangeLogHelpercom.atlassian.jira.datetime.DateTimeStyle.DATE formatter is used to render the change history value.
renderChangeHistoryValueDate in interface DateTimeFieldChangeLogHelperdateValue - the value of the ChangeHistoryItemdateStr - the string of the ChangeHistoryItem, if it can't convert the dateValue it will return the dateStr.
public String renderChangeHistoryValueDateTime(String dateTimeValue,
String dateTimeString)
DateTimeFieldChangeLogHelpercom.atlassian.jira.datetime.DateTimeStyle.DATE_TIME_PICKER formatter is used to render the change history value.
renderChangeHistoryValueDateTime in interface DateTimeFieldChangeLogHelperdateTimeValue - 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 | |||||||||