Extract

Extract will extract a given field from the current time interval, for the given timezone.

The accepted calendar fields:

Calendar field Return value
SECOND_OF_MINUTE [0-59]
SECOND_OF_DAY [0-86399]
MINUTE_OF_HOUR [0-59]
MINUTE_OF_DAY [0-1439]
HOUR_OF_DAY [0-23]
DAY_OF_MONTH [1-31]
DAY_OF_WEEK [1-7]
DAY_OF_YEAR [1-365]
WEEK_OF_YEAR [1-52]
MONTH_OF_YEAR [1-12]
YEAR [0-2999]
Integer extract(String calendarField, String timeZone)
  • extract.txt
  • Last modified: 2019/08/10 16:22
  • by a.leofreddi