Package org.apache.tapestry5.services
Interface DateUtilities
-
- All Known Implementing Classes:
DateUtilitiesImpl
public interface DateUtilities
Formatting utilities for dates; this is primarily used when communicating server-side dates to the clients in ISO-8601 format.- Since:
- 5.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
formatISO8601(Date date)
Formats the time instant in ISO-8601 format for the UTC time zone.
-
-
-
Method Detail
-
formatISO8601
String formatISO8601(Date date)
Formats the time instant in ISO-8601 format for the UTC time zone.- Parameters:
date
- to format, may not be null- Returns:
- formatted date
-
-