public class DateUtilsHelper extends org.apache.commons.lang.time.DateUtils
MILLIS_IN_DAY, MILLIS_IN_HOUR, MILLIS_IN_MINUTE, MILLIS_IN_SECOND, MILLIS_PER_DAY, MILLIS_PER_HOUR, MILLIS_PER_MINUTE, MILLIS_PER_SECOND, RANGE_MONTH_MONDAY, RANGE_MONTH_SUNDAY, RANGE_WEEK_CENTER, RANGE_WEEK_MONDAY, RANGE_WEEK_RELATIVE, RANGE_WEEK_SUNDAY, SEMI_MONTH, UTC_TIME_ZONE
Constructor and Description |
---|
DateUtilsHelper() |
Modifier and Type | Method and Description |
---|---|
static boolean |
containsTimeFormat(String perlFormat)
Checks whether a perl formatted date contains information about displaying time.
|
static String |
formatJavaToPerl(String javaFormat)
Converts a Java SimpleDateFormat into an equivalent String suited for dates used on Perl/PHP platforms.
|
add, addDays, addHours, addMilliseconds, addMinutes, addMonths, addSeconds, addWeeks, addYears, ceiling, ceiling, ceiling, getFragmentInDays, getFragmentInDays, getFragmentInHours, getFragmentInHours, getFragmentInMilliseconds, getFragmentInMilliseconds, getFragmentInMinutes, getFragmentInMinutes, getFragmentInSeconds, getFragmentInSeconds, isSameDay, isSameDay, isSameInstant, isSameInstant, isSameLocalTime, iterator, iterator, iterator, parseDate, parseDateStrictly, round, round, round, setDays, setHours, setMilliseconds, setMinutes, setMonths, setSeconds, setYears, toCalendar, truncate, truncate, truncate, truncatedCompareTo, truncatedCompareTo, truncatedEquals, truncatedEquals
public DateUtilsHelper()
public static String formatJavaToPerl(String javaFormat)
javaFormat
- public static boolean containsTimeFormat(String perlFormat)
perlFormat
- Copyright © 2003–2014 AndroMDA.org. All rights reserved.