|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 DateTimeFieldChangeLogHelper
date
- the value Date of the (custome)field
public String createChangelogValueForDateField(Date date)
DateTimeFieldChangeLogHelper
createChangelogValueForDateField
in interface DateTimeFieldChangeLogHelper
date
- date the value Date of the (custome)field
public String renderChangeHistoryValueDate(String dateValue, String dateStr)
DateTimeFieldChangeLogHelper
com.atlassian.jira.datetime.DateTimeStyle.DATE
formatter is used to render the change history value.
renderChangeHistoryValueDate
in interface DateTimeFieldChangeLogHelper
dateValue
- the value of the ChangeHistoryItem
dateStr
- the string of the ChangeHistoryItem
, if it can't convert the dateValue it will return the dateStr.
public String renderChangeHistoryValueDateTime(String dateTimeValue, String dateTimeString)
DateTimeFieldChangeLogHelper
com.atlassian.jira.datetime.DateTimeStyle.DATE_TIME_PICKER
formatter is used to render the change history value.
renderChangeHistoryValueDateTime
in interface DateTimeFieldChangeLogHelper
dateTimeValue
- the value of the ChangeHistoryItem
dateTimeString
- 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 |