Constant representation |
Meaning description |
${coord:minutes (int n)} |
return datetime: From the beginning, the cycle executes n minutes |
${coord:hours (int n)} |
return datetime: From the beginning, the cycle executes n * 60 Minutes |
${coord:days (int n)} |
return datetime: From the beginning, the cycle executes n * 24 * 60 Minutes |
${coord:months (int n)} |
return datetime: From the beginning, the cycle executes n * M * 24 * 60 Minutes (M represents one months of the number of days) |
${coord:endofdays (int n)} |
return datetime: Starting from the latest time of day (i.e. the next day), Cycle execution n * 24 * 60 Minutes |
${coord:endofmonths (1)} |
return datetime: Starting at the latest of the current month (i.e. early next month), Cycle execution n * 24 * 60 Minutes |
${coord:current (int n)} |
return datetime: Start calculation when a coordinator action (action) is created, nth DataSet instance execution time |
${coord:datain (String name)} |
In the input event (input-events), parse all the URIs that the DataSet instance contains |
${coord:dataout (String name)} |
In the output event (output-events), parse all the URIs that the DataSet instance contains |
${coord:offset (int n, String timeunit)} |
Represents the time offset, if a coordinator action is created with a positive number of t,n to be shifted after the moment T, N is offset before the negative to the moment T, Timeunit represents the time unit (option has minute, HOUR, Day, MONTH, year) |
${coord:hoursinday (int n)} |
Specifies the number of hours of the nth Day, n>0 represents the number of hours in the N-day, n=0 represents the number of hours in the day, and N<0 indicates the number of hours of the first n days of the forward number |
${coord:daysinmonth (int n)} |
Specifies the number of days in the nth month, n>0 represents the number of days to the nth month, n=0 represents the number of days in the current month, and n<0 represents the number of days in the first n months |
${coord:tzoffset ()} |
Ataset the number of minutes that correspond to the time zone of the coordinator job |
${coord:latest (int n)} |
Recently, the nth DataSet instance currently available |
${coord:future (int n, int limit)} |
The dataset instance after the current time, n>=0, which represents the immediately available dataset instance when n=0, and the limit represents the number of dataset instances |
${coord:nominaltime ()} |
The nominal time equals the coordinator job start time, plus the number of times the coordinator job is given a DateTime. For example: start= "2009-01-01t24:00z", end= "2009-12-31t24:00z", frequency= "${coord:days (1)}", frequency= "${coord:days (1)}, Then the nominal time is: 2009-01-02t00:00z, 2009-01-03t00:00z, 2009-01-04t00:00z 、...、 2010-01-01t00:00z |
${coord:actualtime ()} |
The actual creation time of the coordinator action. For example: start= "2011-05-01t24:00z", end= "2011-12-31t24:00z", frequency= "${coord:days (1)}", the actual time is: 2011-05-01, 2011-05-02,2011-05-03,...,2011-12-31 |
${coord:user ()} |
The name of the user who started the current coordinator job |
${coord:dateoffset (string basedate, int instance, string timeunit)} |
Formula for calculating new datetime: Newdate = basedate + instance * Timeunit, such as: basedate= ' 2009-01-01t00:00z ', instance= ' 2′,timeunit= ' MONTH ', the new date time calculated is ' 2009-03-01t00:00z '. |
${coord:formattime (string timeStamp, string format)} |
Format time string, format specifies pattern |