public.javadoc.org.spincast.plugins.dateformatter.RelativeDateFormatter.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
RelativeDateFormatter (org.spincast:spincast-framework 1.0.0 API)
org.spincast.plugins.dateformatter
Interface RelativeDateFormatter
-
- All Known Implementing Classes:
- RelativeDateFormatterDefault
public interface RelativeDateFormatter
-
-
Method Summary
All Methods Instance Methods Abstract Methods
Modifier and Type
Method and Description
String
format()
Format!
RelativeDateFormatter
formatType(RelativeDateFormatType formatType)
The type of the format to use.
RelativeDateFormatter
locale(Locale locale)
The locale to use.
-
-
Method Detail
-
locale
RelativeDateFormatter locale(Locale locale)
The locale to use.
Defaults to the one provided by the
LocaleResolver
.
-
formatType
RelativeDateFormatter formatType(RelativeDateFormatType formatType)
The type of the format to use.
Defaults to RelativeDateFormatType.DEFAULT
.
-
format
String format()
Format!
Copyright © 2019. All rights reserved.