@Immutable public class DateVelocityUtils extends Object
Constructor and Description |
---|
DateVelocityUtils(DateTimeFormatter dateTimeFormatter) |
Modifier and Type | Method and Description |
---|---|
String |
formatRelative(Date date)
Returns a string representation of the given date in DateTimeStyle#RELATIVE_WITHOUT_TIME format.
|
String |
formatRSS(Date date)
Returns a string representation of the given date in DateTimeStyle#RSS_RFC822_DATE_TIME format.
|
public DateVelocityUtils(DateTimeFormatter dateTimeFormatter)
Copyright © 2002-2021 Atlassian. All Rights Reserved.