Interface RelativeDateFormatter
- All Known Implementing Classes:
RelativeDateFormatterDefault
public interface RelativeDateFormatter
-
Method Summary
Modifier and TypeMethodDescriptionformat()
Format!formatType
(RelativeDateFormatType formatType) The type of the format to use.The locale to use.
-
Method Details
-
locale
The locale to use. Defaults to the one provided by theLocaleResolver
. -
formatType
The type of the format to use. Defaults toRelativeDateFormatType.DEFAULT
. -
format
String format()Format!
-