|
|
|
@ -14,14 +14,8 @@
|
|
|
|
|
* See the License for the specific language governing permissions and |
|
|
|
|
* limitations under the License. |
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
package org.apache.dolphinscheduler.common.utils.placeholder; |
|
|
|
|
|
|
|
|
|
import static org.apache.commons.lang.time.DateUtils.addDays; |
|
|
|
|
import static org.apache.dolphinscheduler.common.Constants.PARAMETER_FORMAT_DATE; |
|
|
|
|
import static org.apache.dolphinscheduler.common.Constants.PARAMETER_FORMAT_TIME; |
|
|
|
|
import static org.apache.dolphinscheduler.common.utils.DateUtils.format; |
|
|
|
|
|
|
|
|
|
import org.apache.dolphinscheduler.common.Constants; |
|
|
|
|
import org.apache.dolphinscheduler.common.enums.CommandType; |
|
|
|
|
|
|
|
|
@ -29,6 +23,11 @@ import java.util.Date;
|
|
|
|
|
import java.util.HashMap; |
|
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
|
|
import static org.apache.dolphinscheduler.common.Constants.PARAMETER_FORMAT_DATE; |
|
|
|
|
import static org.apache.dolphinscheduler.common.Constants.PARAMETER_FORMAT_TIME; |
|
|
|
|
import static org.apache.dolphinscheduler.common.utils.DateUtils.format; |
|
|
|
|
import static org.apache.commons.lang.time.DateUtils.addDays; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* business time utils |
|
|
|
|