META-INF.dateutils.tld Maven / Gradle / Ivy
Date-related EL functions
dateutils
1.0
du
dateutils
formatDateTime
Format a date and time based on a given pattern, or a builtin style (short, medium, long or full). Also supports
different styles for date and time with the syntax "date_style;time_style" (e.g. "short;long")
net.sourceforge.openutils.elfunctions.DateElUtils
java.lang.String formatDateTime(java.util.Calendar, java.lang.String, java.lang.String)
formatDateTimeWithLocale
Format a date and time with a specified language (lowercase two-letter ISO-639 code) based on a given pattern, or a builtin style (short, medium, long or full). Also supports
different styles for date and time with the syntax "date_style;time_style" (e.g. "short;long")
net.sourceforge.openutils.elfunctions.DateElUtils
java.lang.String formatDateTimeWithLocale(java.util.Calendar, java.lang.String,
java.lang.String)
formatDate
Format a date based on a given pattern, or a builtin style (short, medium, long or full)
net.sourceforge.openutils.elfunctions.DateElUtils
java.lang.String formatDate(java.util.Calendar, java.lang.String, java.lang.String)
formatTime
Format a time based on a given pattern, or a builtin style (short, medium, long or full)
net.sourceforge.openutils.elfunctions.DateElUtils
java.lang.String formatTime(java.util.Calendar, java.lang.String, java.lang.String)
formatInterval
format a milliseconds interval as a string like 523h 22m 18s
net.sourceforge.openutils.elfunctions.DateElUtils
java.lang.String formatInterval(java.lang.Long)
getMillisFromNow
retrieve the milliseconds in difference between now and the input date
net.sourceforge.openutils.elfunctions.DateElUtils
java.lang.Long getMillisFromNow(java.util.Calendar)
parseDate
parse a date with a given pattern and return the parsed date as a calendar object (null safe)
net.sourceforge.openutils.elfunctions.DateElUtils
java.util.Calendar parseDate(java.lang.String, java.lang.String)