public interface

DateFormatter

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
String PROPERTY_KEY_PREFIX
Public Methods
String formatDate(Date date, DateFormatter.FormatType type)
String getFormatString(String key)

Constants

public static final String PROPERTY_KEY_PREFIX

Constant Value: "bitbucket.date.format"

Public Methods

public String formatDate (Date date, DateFormatter.FormatType type)

public String getFormatString (String key)