public class DefaultJBDateTimeFormatter extends JBDateTimeFormatter
Constructor and Description |
---|
DefaultJBDateTimeFormatter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
formatDate(long time) |
java.lang.String |
formatPrettyDate(long time) |
java.lang.String |
formatPrettyDateTime(long time) |
java.lang.String |
formatTime(long time) |
java.lang.String |
formatTimeWithSeconds(long time) |
protected boolean |
isPrettyFormattingSupported() |
formatDate, formatDateTime, formatDateTime, formatPrettyDate, formatPrettyDateTime, formatTime, formatTimeWithSeconds
protected boolean isPrettyFormattingSupported()
isPrettyFormattingSupported
in class JBDateTimeFormatter
public java.lang.String formatTime(long time)
formatTime
in class JBDateTimeFormatter
public java.lang.String formatTimeWithSeconds(long time)
formatTimeWithSeconds
in class JBDateTimeFormatter
public java.lang.String formatDate(long time)
formatDate
in class JBDateTimeFormatter
public java.lang.String formatPrettyDateTime(long time)
formatPrettyDateTime
in class JBDateTimeFormatter
public java.lang.String formatPrettyDate(long time)
formatPrettyDate
in class JBDateTimeFormatter