Class RecurrenceUtil
- java.lang.Object
-
- org.apache.ofbiz.service.calendar.RecurrenceUtil
-
public final class RecurrenceUtil extends java.lang.Object
Recurrence Utilities
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
formatDate(java.util.Date date)
Returns a String from a Date objectstatic java.util.List<java.lang.String>
formatDateList(java.util.List<java.util.Date> dateList)
Returns a Llist of date strings from a List of Date objectsstatic long
now()
Returns the time as of now.static java.util.Date
parseDate(java.lang.String dateStr)
Returns a Date object from a String.static java.util.List<java.util.Date>
parseDateList(java.util.List<java.lang.String> dateList)
Returns a List of parsed date strings.
-
-
-
Method Detail
-
parseDate
public static java.util.Date parseDate(java.lang.String dateStr)
Returns a Date object from a String.
-
parseDateList
public static java.util.List<java.util.Date> parseDateList(java.util.List<java.lang.String> dateList)
Returns a List of parsed date strings.
-
formatDate
public static java.lang.String formatDate(java.util.Date date)
Returns a String from a Date object
-
formatDateList
public static java.util.List<java.lang.String> formatDateList(java.util.List<java.util.Date> dateList)
Returns a Llist of date strings from a List of Date objects
-
now
public static long now()
Returns the time as of now.
-
-