Package org.thymeleaf.expression
Class Calendars
- Object
-
- org.thymeleaf.expression.Calendars
-
-
Method Summary
-
-
-
Constructor Detail
-
Calendars
public Calendars(Locale locale)
-
-
Method Detail
-
create
public Calendar create(Object year, Object month, Object day)
- Parameters:
year
- yearmonth
- monthday
- day- Returns:
- the result
- Since:
- 1.1.2
-
create
public Calendar create(Object year, Object month, Object day, Object hour, Object minute)
- Parameters:
year
- yearmonth
- monthday
- dayhour
- hourminute
- minute- Returns:
- the result
- Since:
- 1.1.2
-
create
public Calendar create(Object year, Object month, Object day, Object hour, Object minute, Object second)
- Parameters:
year
- yearmonth
- monthday
- dayhour
- hourminute
- minutesecond
- second- Returns:
- the result
- Since:
- 1.1.2
-
create
public Calendar create(Object year, Object month, Object day, Object hour, Object minute, Object second, Object millisecond)
- Parameters:
year
- yearmonth
- monthday
- dayhour
- hourminute
- minutesecond
- secondmillisecond
- millisecond- Returns:
- the result
- Since:
- 1.1.2
-
createForTimeZone
public Calendar createForTimeZone(Object year, Object month, Object day, Object timeZone)
- Parameters:
year
- yearmonth
- monthday
- daytimeZone
- timeZone- Returns:
- the result
- Since:
- 2.1.0
-
createForTimeZone
public Calendar createForTimeZone(Object year, Object month, Object day, Object hour, Object minute, Object timeZone)
- Parameters:
year
- yearmonth
- monthday
- dayhour
- hourminute
- minutetimeZone
- timeZone- Returns:
- the result
- Since:
- 2.1.0
-
createForTimeZone
public Calendar createForTimeZone(Object year, Object month, Object day, Object hour, Object minute, Object second, Object timeZone)
- Parameters:
year
- yearmonth
- monthday
- dayhour
- hourminute
- minutesecond
- secondtimeZone
- timeZone- Returns:
- the result
- Since:
- 2.1.0
-
createForTimeZone
public Calendar createForTimeZone(Object year, Object month, Object day, Object hour, Object minute, Object second, Object millisecond, Object timeZone)
- Parameters:
year
- yearmonth
- monthday
- dayhour
- hourminute
- minutesecond
- secondmillisecond
- millisecondtimeZone
- timeZone- Returns:
- the result
- Since:
- 2.1.0
-
createNow
public Calendar createNow()
- Returns:
- the result
- Since:
- 1.1.2
-
createNowForTimeZone
public Calendar createNowForTimeZone(Object timeZone)
- Parameters:
timeZone
- timeZone- Returns:
- the result
- Since:
- 2.1.0
-
createToday
public Calendar createToday()
- Returns:
- the result
- Since:
- 1.1.2
-
createTodayForTimeZone
public Calendar createTodayForTimeZone(Object timeZone)
- Parameters:
timeZone
- timeZone- Returns:
- the result
- Since:
- 2.1.0
-
formatISO
public String formatISO(Calendar target)
- Parameters:
target
- target- Returns:
- the result
- Since:
- 2.1.4
-
arrayFormatISO
public String[] arrayFormatISO(Object[] target)
- Parameters:
target
- target- Returns:
- the result
- Since:
- 2.1.4
-
listFormatISO
public List<String> listFormatISO(List<? extends Calendar> target)
- Parameters:
target
- target- Returns:
- the result
- Since:
- 2.1.4
-
-