com.atlassian.bitbucket.util.DateFormatter |
Allows the formatting of a date according to predefined formats.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DateFormatter.FormatType | A predefined date format. |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | PROPERTY_KEY_PREFIX |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Format the passed date.
| |||||||||||
Format the passed Instant.
| |||||||||||
Format the passed date.
date | the date to format. |
---|---|
type | the type of date rendering to generate. |
Format the passed Instant.
instant | the instant to render. |
---|---|
type | the type of date rendering to generate. |
NullPointerException | if any of the arguments is null. |
---|