/*
* All content copyright Terracotta, Inc., unless otherwise indicated. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations
* under the License.
*
*/
package com.lyl.igreport.xxljob.core.cron;
import java.io.Serializable;
import java.text.ParseException;
import java.util.*;
/**
* Provides a parser and evaluator for unix-like cron expressions. Cron
* expressions provide the ability to specify complex time combinations such as
* "At 8:00am every Monday through Friday" or "At 1:30am every
* last Friday of the month".
* <P>
* Cron expressions are comprised of 6 required fields and one optional field
* separated by white space. The fields respectively are described as follows:
*
* <table cellspacing="8">
* <tr>
* <th align="left">Field Name</th>
* <th align="left"> </th>
* <th align="left">Allowed Values</th>
* <th align="left"> </th>
* <th align="left">Allowed Special Characters</th>
* </tr>
* <tr>
* <td align="left"><code>Seconds</code></td>
* <td align="left"> </th>
* <td align="left"><code>0-59</code></td>
* <td align="left"> </th>
* <td align="left"><code>, - * /</code></td>
* </tr>
* <tr>
* <td align="left"><code>Minutes</code></td>
* <td align="left"> </th>
* <td align="left"><code>0-59</code></td>
* <td align="left"> </th>
* <td align="left"><code>, - * /</code></td>
* </tr>
* <tr>
* <td align="left"><code>Hours</code></td>
* <td align="left"> </th>
* <td align="left"><code>0-23</code></td>
* <td align="left"> </th>
* <td align="left"><code>, - * /</code></td>
* </tr>
* <tr>
* <td align="left"><code>Day-of-month</code></td>
* <td align="left"> </th>
* <td align="left"><code>1-31</code></td>
* <td align="left"> </th>
* <td align="left"><code>, - * ? / L W</code></td>
* </tr>
* <tr>
* <td align="left"><code>Month</code></td>
* <td align="left"> </th>
* <td align="left"><code>0-11 or JAN-DEC</code></td>
* <td align="left"> </th>
* <td align="left"><code>, - * /</code></td>
* </tr>
* <tr>
* <td align="left"><code>Day-of-Week</code></td>
* <td align="left"> </th>
* <td align="left"><code>1-7 or SUN-SAT</code></td>
* <td align="left"> </th>
* <td align="left"><code>, - * ? / L #</code></td>
* </tr>
* <tr>
* <td align="left"><code>Year (Optional)</code></td>
* <td align="left"> </th>
* <td align="left"><code>empty, 1970-2199</code></td>
* <td align="left"> </th>
* <td align="left"><code>, - * /</code></td>
* </tr>
* </table>
* <P>
* The '*' character is used to specify all values. For example, "*"
* in the minute field means "every minute".
* <P>
* The '?' character is allowed for the day-of-month and day-of-week fields. It
* is used to specify 'no specific value'. This is useful when you need to
* specify something in one of the two fields, but not the other.
* <P>
* The '-' character is used to specify ranges For example "10-12" in
* the hour field means "the hours 10, 11 and 12".
* <P>
* The ',' character is used to specify additional values. For example
* "MON,WED,FRI" in the day-of-week field means "the days Monday,
* Wednesday, and Friday".
* <P>
* The '/' character is used to specify increments. For example "0/15"
* in the seconds field means "the seconds 0, 15, 30, and 45". And
* "5/15" in the seconds field means "the seconds 5, 20, 35, and
* 50". Specifying '*' before the '/' is equivalent to specifying 0 is
* the value to start with. Essentially, for each field in the expression, there
* is a set of numbers that can be turned on or off. For seconds and minutes,
* the numbers range from 0 to 59. For hours 0 to 23, for days of the month 0 to
* 31, and for months 0 to 11 (JAN to DEC). The "/" character simply helps you turn
* on every "nth" value in the given set. Thus "7/6" in the
* month field only turns on month "7", it does NOT mean every 6th
* month, please note that subtlety.
* <P>
* The 'L' character is allowed for the day-of-month and day-of-week fields.
* This character is short-hand for "last", but it has different
* meaning in each of the two fields. For example, the value "L" in
* the day-of-month field means "the last day of the month" - day 31
* for January, day 28 for February on non-leap years. If used in the
* day-of-week field by itself, it simply means "7" or
* "SAT". But if used in the day-of-week field after another value, it
* means "the last xxx day of the month" - for example "6L"
* means "the last friday of the month". You can also specify an offset
* from the last day of the month, such as "L-3" which would mean the third-to-last
* day of the calendar month. <i>When using the 'L' option, it is important not to
* specify lists, or ranges of values, as you'll get confusing/unexpected results.</i>
* <P>
* The 'W' character is allowed for the day-of-month field. This character
* is used to specify the weekday (Monday-Friday) nearest the given day. As an
* example, if you were to specify "15W" as the value for the
* day-of-month field, the meaning is: "the nearest weekday to the 15th of
* the month". So if the 15th is a Saturday, the trigger will fire on
* Friday the 14th. If the 15th is a Sunday, the trigger will fire on Monday the
* 16th. If the 15th is a Tuesday, then it will fire on Tuesday the 15th.
* However if you specify "1W" as the value for day-of-month, and the
* 1st is a Saturday, the trigger will fire on Monday the 3rd, as it will not
* 'jump' over the boundary of a month's days. The 'W' character can only be
* specified when the day-of-month is a single day, not a range or list of days.
* <P>
* The 'L' and 'W' characters can also be combined for the day-of-month
* expression to yield 'LW', which translates to "last weekday of the
* month".
* <P>
* The '#' character is allowed for the day-of-week field. This character is
* used to specify "the nth" XXX day of the month. For example, the
* value of "6#3" in the day-of-week field means the third Friday of
* the month (day 6 = Friday and "#3" = the 3rd one in the month).
* Other examples: "2#1" = the first Monday of the month and
* "4#5" = the fifth Wednesday of the month. Note that if you specify
* "#5" and there is not 5 of the given day-of-week in the month, then
* no firing will occur that month. If the '#' character is used, there can
* only be one expression in the day-of-week field ("3#1,6#3" is
* not valid, since there are two expressions).
* <P>
* <!--The 'C' character is allowed for the day-of-month and day-of-week fields.
* This character is short-hand for "calendar". This means values are
* calculated against the associated calendar, if any. If no calendar is
* associated, then it is equivalent to having an all-inclusive calendar. A
* value of "5C" in the day-of-month field means "the first day included by the
* calendar on or after the 5th". A value of "1C" in the day-of-week field
* means "the first day included by the calendar on or after Sunday".-->
* <P>
* The legal characters and the names of months and days of the week are not
* case
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
基于SpringBoot+Vue的企业级智能通用报表调度平台管理系统源码+项目说明.zip IG-REPORT是一个企业级别的智能通用报表平台,支持多种数据源和多种落地,任务和调度均可视化管理,报表查看可控制权限,操作简单,只需30s即可出报表。 本项目非常轻量级,开箱即用。10分钟即可完成项目搭建。 至少需要安装以下程序:mysql\mongo,并修改application.properties中的数据库配置 在mysql中创建inteport数据库并执行resources/igreport.sql中的ddl脚本 运行IgreportCoreApplication 访问localhost:8081即可 【备注】 主要针对计算机相关专业的正在做毕设的学生和需要项目实战的Java学习者。 【特别强调】 1、csdn上资源保证是完整最新,会不定期更新优化; 2、请用自己的账号在csdn官网下载,若通过第三方代下,博主不对您下载的资源作任何保证,且不提供任何形式的技术支持和答疑!!!
资源推荐
资源详情
资源评论
收起资源包目录
基于SpringBoot+Vue的企业级智能通用报表调度平台管理系统源码+项目说明.zip (161个子文件)
mvnw.cmd 6KB
chunk-vendors.ded27da0.css 228KB
chunk-4f314a7b.1d7afe3d.css 3KB
app.f1694143.css 2KB
chunk-3f7dee44.8df8ba14.css 2KB
chunk-d5224c00.6c23c2a3.css 724B
chunk-f1225e32.2189cf26.css 724B
chunk-26f4e2ec.282df2eb.css 685B
chunk-3c3d40d2.90e120f0.css 531B
chunk-64d0a006.add92d84.css 490B
chunk-c2a339e2.214b5996.css 438B
chunk-8a57c474.b83ca757.css 342B
chunk-7c4492de.cc0a1c97.css 119B
chunk-c362834e.7baae960.css 93B
chunk-53689073.0c375aaa.css 47B
chunk-3d7ff988.0c375aaa.css 47B
.gitignore 167B
index.html 3KB
CronExpression.java 59KB
JobServiceImpl.java 21KB
JobScheduleHelper.java 14KB
XxlJobDynamicScheduler.java 14KB
XxlJobTrigger.java 10KB
JobLogController.java 9KB
ReportInfoController.java 8KB
AdminBizImpl.java 7KB
JobFailMonitorHelper.java 7KB
CommonReportServiceImpl.java 6KB
UserController.java 6KB
JobInfoController.java 6KB
JobLogReportHelper.java 5KB
JobTriggerPoolHelper.java 5KB
PrestoServiceImpl.java 4KB
DateTimeUtil.java 4KB
JobApiController.java 4KB
XxlJobScheduler.java 4KB
JobRegistryMonitorHelper.java 4KB
LoginService.java 4KB
XxlJobAdminConfig.java 3KB
LocalCacheUtil.java 3KB
IndexController.java 3KB
ExecutorRouteLFU.java 3KB
ExecutorRouteConsistentHash.java 3KB
IgReportJobLogDao.java 3KB
TestReportDao.java 3KB
ExecutorRouteLRU.java 3KB
MongoServiceImpl.java 3KB
IgReportDataSourceConfig.java 3KB
JacksonUtil.java 2KB
TidbDataSourceConfig.java 2KB
I18nUtil.java 2KB
CommonReportHandler.java 2KB
XxlJobConfig.java 2KB
CookieUtil.java 2KB
TestXxlJob.java 2KB
TestMongo.java 2KB
MongoDaoImpl.java 2KB
PermissionInterceptor.java 2KB
QueryPrestoDto.java 2KB
WebExceptionResolver.java 2KB
ExecutorRouteStrategyEnum.java 2KB
ExecutorRouteBusyover.java 2KB
SampleXxlJob.java 2KB
IgReportJobInfoDao.java 2KB
ExecutorRouteFailover.java 2KB
XxlJobGroup.java 2KB
XxlJobInfo.java 2KB
CronUtils.java 1KB
XxlJobRegistryDao.java 1KB
ExecutorRouteRound.java 1KB
JobService.java 1KB
CookieInterceptor.java 1KB
XxlJobUser.java 1KB
XxlJobLogGlue.java 1KB
CommonReportDto.java 1KB
CommonReportService.java 1KB
XxlJobThreadPool.java 1KB
DataSourceEnum.java 1KB
XxlJobRegistry.java 1KB
IgReportUserDao.java 1KB
RemoteHttpJobBean.java 1KB
IgReportDao.java 1KB
FtlUtil.java 1016B
XxlJobLog.java 903B
WebMvcConfig.java 874B
DefaultJobInfoUtils.java 748B
IgReportJobStatisticDao.java 741B
MongoReportEntity.java 700B
TriggerTypeEnum.java 670B
MongoService.java 650B
ExecutorRouteRandom.java 648B
ReportFrequencyEnum.java 616B
XxlJobGroupDao.java 613B
ExecutorRouter.java 593B
MongoDao.java 576B
QueryCommonReportDto.java 569B
PermissionLimit.java 548B
ExecutorRouteLast.java 513B
XxlJobLogReport.java 503B
ExecutorRouteFirst.java 494B
共 161 条
- 1
- 2
资源评论
- 漫-流2023-04-22简直是宝藏资源,实用价值很高,支持!
onnx
- 粉丝: 9445
- 资源: 5594
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- (源码)基于TensorflowLite的AI狗识别系统.zip
- (源码)基于Qt框架的3D点云与模型可视化系统.zip
- JAVA的SpringBoot企业级进销存ERP管理系统源码 java进销存源码数据库 MySQL源码类型 WebForm
- (源码)基于Python的学生管理系统.zip
- 图片oraclemysal
- 深入讲解贪心算法及其Python实现与实例应用
- java人力资源HR管理系统源码数据库 MySQL源码类型 WebForm
- BT_esp32_370_DRV8833_BALANCE_verticalPID_turnPID.ino
- buildroot package使用示例
- C#ASP.NET快速开发平台源码带视频教程和操作手册数据库 SQL2008源码类型 WebForm
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功