Tool for accessing, manipulating, and convertingjava.util.Date
and java.util.Calendar
objects in Velocity templates. It
supports locales to format dates language and country specific.
java.util.Locale
that represents the locale
to be used to create the date.
java.util.Date
representing the time at which this
method was invoked in the specified locale. If no locale is specified,
the system's default locale is used.
java.util.Locale
that represents the locale
to be used to create the calendar.
java.util.Calendar
representing the time at which this
method was invoked in the specified locale. If no locale is specified,
the system's default locale is used.
java.text.SimpleDateFormat
. See also below.
java.util.Date
or java.util.Calendar
. It is
also possible to pass a string that represents a parsable date
according to java.text.DateFormat
.
java.util.Locale
that represents the locale
to format the date for.
null
if one or several input parameters are invalid. If no locale is specified,
the system's default locale is used instead.
This methods use the same formatting instructions as class
java.text.SimpleDateFormat
.
java.util.Date
or java.util.Calendar
. It is also possible to
pass a string that represents a parsable date according to
java.text.DateFormat
.
java.util.Date
representing the converted date
or java.util.Date
or java.util.Calendar
. It is also possible to
pass a string that represents a parsable date according to
java.text.DateFormat
.
java.util.Calendar
representing the converted date
or