| com.atlassian.bitbucket.util.DateFormatter |
Class Overview
Allows the formatting of a date according to predefined formats.
Summary
| Nested Classes |
|
enum |
DateFormatter.FormatType |
A predefined date format. |
Constants
public
static
final
String
PROPERTY_KEY_PREFIX
Constant Value:
"bitbucket.date.format"
Public Methods
Parameters
| date
| the date to format. |
| type
| the type of date rendering to generate. |
Format the passed Instant.
Parameters
| instant
| the instant to render. |
| type
| the type of date rendering to generate. |