org.apache.jempbox.impl
public class DateConverter extends Object
Version: $Revision: 1.6 $
Method Summary | |
---|---|
static Calendar | toCalendar(String date)
This will convert a string to a calendar.
|
static String | toISO8601(Calendar cal)
Convert the date to iso 8601 string format.
|
Parameters: date The string representation of the calendar.
Returns: The calendar that this string represents.
Throws: IOException If the date string is not in the correct format.
Parameters: cal The date to convert.
Returns: The date represented as an ISO 8601 string.