java.lang.Object | |
↳ | com.atlassian.jira.datetime.DateVelocityUtils |
Aggregates the most commonly-used date formats in a single instance, for use within Velocity templates. All strings returned by this class are in the system time zone, and are either HTML- or XML-escaped (as appropriate).
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a string representation of the given date in DateTimeStyle#RSS_RFC822_DATE_TIME format.
| |||||||||||
Returns a string representation of the given date in DateTimeStyle#RELATIVE_WITHOUT_TIME format.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object |
Returns a string representation of the given date in DateTimeStyle#RSS_RFC822_DATE_TIME format.
date | a date/time to format |
---|
Returns a string representation of the given date in DateTimeStyle#RELATIVE_WITHOUT_TIME format.
date | a date/time to format |
---|