|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DateFormatterFactory
Constructs DateFormatter instances for use throughout Confluence core.
| Method Summary | |
|---|---|
DateFormatter |
createForUser()
Obtains a DateFormatter suitable for the current users timezone. |
FriendlyDateFormatter |
createFriendlyForUser()
Creates a FriendlyDateFormatter for the current user, with the current date/time used for "now". |
FriendlyDateFormatter |
createFriendlyForUser(Date now)
Creates a FriendlyDateFormatter for the current user. |
DateFormatter |
createGlobal()
Obtains a DateFormatter that uses the instances default timezone. |
| Method Detail |
|---|
DateFormatter createForUser()
DateFormatter createGlobal()
com.atlassian.sal.api.timezone.TimeZoneManager#getDefaultTimeZone()}FriendlyDateFormatter createFriendlyForUser(Date now)
FriendlyDateFormatter createFriendlyForUser()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||