// 0 工作日 // 1 休息日 // 2 节假日 const day2018 = [ {dayStr: "20180101", type: "2"}, {dayStr: "20180102", type: "0"}, {dayStr: "20180103", type: "0"}, {dayStr: "20180104", type: "0"}, {dayStr: "20180105", type: "0"}, {dayStr: "20180106", type: "1"}, {dayStr: "20180107", type: "1"}, {dayStr: "20180108", type: "0"}, {dayStr: "20180109", type: "0"}, {dayStr: "20180110", type: "0"}, {dayStr: "20180111", type: "0"}, {dayStr: "20180112", type: "0"}, {dayStr: "20180113", type: "1"}, {dayStr: "20180114", type: "1"}, {dayStr: "20180115", type: "0"}, {dayStr: "20180116", type: "0"}, {dayStr: "20180117", type: "0"}, {dayStr: "20180118", type: "0"}, {dayStr: "20180119", type: "0"}, {dayStr: "20180120", type: "1"}, {dayStr: "20180121", type: "1"}, {dayStr: "20180122", type: "0"}, {dayStr: "20180123", type: "0"}, {dayStr: "20180124", type: "0"}, {dayStr: "20180125", type: "0"}, {dayStr: "20180126", type: "0"}, {dayStr: "20180127", type: "1"}, {dayStr: "20180128", type: "1"}, {dayStr: "20180129", type: "0"}, {dayStr: "20180130", type: "0"}, {dayStr: "20180131", type: "0"}, {dayStr: "20180201", type: "0"}, {dayStr: "20180202", type: "0"}, {dayStr: "20180203", type: "1"}, {dayStr: "20180204", type: "1"}, {dayStr: "20180205", type: "0"}, {dayStr: "20180206", type: "0"}, {dayStr: "20180207", type: "0"}, {dayStr: "20180208", type: "0"}, {dayStr: "20180209", type: "0"}, {dayStr: "20180210", type: "1"}, {dayStr: "20180211", type: "0"}, {dayStr: "20180212", type: "0"}, {dayStr: "20180213", type: "0"}, {dayStr: "20180214", type: "0"}, {dayStr: "20180215", type: "2"}, {dayStr: "20180216", type: "2"}, {dayStr: "20180217", type: "2"}, {dayStr: "20180218", type: "2"}, {dayStr: "20180219", type: "2"}, {dayStr: "20180220", type: "2"}, {dayStr: "20180221", type: "2"}, {dayStr: "20180222", type: "0"}, {dayStr: "20180223", type: "0"}, {dayStr: "20180224", type: "0"}, {dayStr: "20180225", type: "1"}, {dayStr: "20180226", type: "0"}, {dayStr: "20180227", type: "0"}, {dayStr: "20180228", type: "0"}, {dayStr: "20180301", type: "0"}, {dayStr: "20180302", type: "0"}, {dayStr: "20180303", type: "1"}, {dayStr: "20180304", type: "1"}, {dayStr: "20180305", type: "0"}, {dayStr: "20180306", type: "0"}, {dayStr: "20180307", type: "0"}, {dayStr: "20180308", type: "0"}, {dayStr: "20180309", type: "0"}, {dayStr: "20180310", type: "1"}, {dayStr: "20180311", type: "1"}, {dayStr: "20180312", type: "0"}, {dayStr: "20180313", type: "0"}, {dayStr: "20180314", type: "0"}, {dayStr: "20180315", type: "0"}, {dayStr: "20180316", type: "0"}, {dayStr: "20180317", type: "1"}, {dayStr: "20180318", type: "1"}, {dayStr: "20180319", type: "0"}, {dayStr: "20180320", type: "0"}, {dayStr: "20180321", type: "0"}, {dayStr: "20180322", type: "0"}, {dayStr: "20180323", type: "0"}, {dayStr: "20180324", type: "1"}, {dayStr: "20180325", type: "1"}, {dayStr: "20180326", type: "0"}, {dayStr: "20180327", type: "0"}, {dayStr: "20180328", type: "0"}, {dayStr: "20180329", type: "0"}, {dayStr: "20180330", type: "0"}, {dayStr: "20180331", type: "1"}, {dayStr: "20180401", type: "1"}, {dayStr: "20180402", type: "0"}, {dayStr: "20180403", type: "0"}, {dayStr: "20180404", type: "0"}, {dayStr: "20180405", type: "2"}, {dayStr: "20180406", type: "2"}, {dayStr: "20180407", type: "2"}, {dayStr: "20180408", type: "0"}, {dayStr: "20180409", type: "0"}, {dayStr: "20180410", type: "0"}, {dayStr: "20180411", type: "0"}, {dayStr: "20180412", type: "0"}, {dayStr: "20180413", type: "0"}, {dayStr: "20180414", type: "1"}, {dayStr: "20180415", type: "1"}, {dayStr: "20180416", type: "0"}, {dayStr: "20180417", type: "0"}, {dayStr: "20180418", type: "0"}, {dayStr: "20180419", type: "0"}, {dayStr: "20180420", type: "0"}, {dayStr: "20180421", type: "1"}, {dayStr: "20180422", type: "1"}, {dayStr: "20180423", type: "0"}, {dayStr: "20180424", type: "0"}, {dayStr: "20180425", type: "0"}, {dayStr: "20180426", type: "0"}, {dayStr: "20180427", type: "0"}, {dayStr: "20180428", type: "0"}, {dayStr: "20180429", type: "2"}, {dayStr: "20180430", type: "2"}, {dayStr: "20180501", type: "2"}, {dayStr: "20180502", type: "0"}, {dayStr: "20180503", type: "0"}, {dayStr: "20180504", type: "0"}, {dayStr: "20180505", type: "1"}, {dayStr: "20180506", type: "1"}, {dayStr: "20180507", type: "0"}, {dayStr: "20180508", type: "0"}, {dayStr: "20180509", type: "0"}, {dayStr: "20180510", type: "0"}, {dayStr: "20180511", type: "0"}, {dayStr: "20180512", type: "1"}, {dayStr: "20180513", type: "1"}, {dayStr: "20180514", type: "0"}, {dayStr: "20180515", type: "0"}, {dayStr: "20180516", type: "0"}, {dayStr: "20180517", type: "0"}, {dayStr: "20180518", type: "0"}, {dayStr: "20180519", type: "1"}, {dayStr: "20180520", type: "1"}, {dayStr: "20180521", type: "0"}, {dayStr: "20180522", type: "0"}, {dayStr: "20180523", type: "0"}, {dayStr: "20180524", type: "0"}, {dayStr: "20180525", type: "0"}, {dayStr: "20180526", type: "1"}, {dayStr: "20180527", type: "1"}, {dayStr: "20180528", type: "0"}, {dayStr: "20180529", type: "0"}, {dayStr: "20180530", type: "0"}, {dayStr: "20180531", type: "0"}, {dayStr: "20180601", type: "0"}, {dayStr: "20180602", type: "1"}, {dayStr: "20180603", type: "1"}, {dayStr: "20180604", type: "0"}, {dayStr: "20180605", type: "0"}, {dayStr: "20180606", type: "0"}, {dayStr: "20180607", type: "0"}, {dayStr: "20180608", type: "0"}, {dayStr: "20180609", type: "1"}, {dayStr: "20180610", type: "1"}, {dayStr: "20180611", type: "0"}, {dayStr: "20180612", type: "0"}, {dayStr: "20180613", type: "0"}, {dayStr: "20180614", type: "0"}, {dayStr: "20180615", type: "0"}, {dayStr: "20180616", type: "2"}, {dayStr: "20180617", type: "2"}, {dayStr: "20180618", type: "2"}, {dayStr: "20180619", type: "0"}, {dayStr: "20180620", type: "0"}, {dayStr: "20180621", type: "0"}, {dayStr: "20180622", type: "0"}, {dayStr: "20180623", type: "1"}, {dayStr: "20180624", type: "1"}, {dayStr: "20180625", type: "0"}, {dayStr: "20180626", type: "0"}, {dayStr: "20180627", type: "0"}, {dayStr: "20180628", type: "0"}, {dayStr: "20180629", type: "0"}, {dayStr: "20180630", type: "1"}, {dayStr: "20180701", type: "1"}, {dayStr: "20180702", type: "0"}, {dayStr: "20180703", type: "0"}, {dayStr: "20180704", type: "0"}, {dayStr: "20180705", type: "0"}, {dayStr: "20180706", type: "0"}, {dayStr: "20180707", type: "1"}, {dayStr: "20180708", type: "1"}, {dayStr: "20180709", type: "0"}, {dayStr: "20180710", type: "0"}, {dayStr: "20180711", type: "0"}, {dayStr: "20180712", type: "0"}, {dayStr: "20180713", type: "0"}, {dayStr: "20180714", type: "1"}, {dayStr: "20180715", type: "1"}, {dayStr: "20180716", type: "0"}, {dayStr: "20180717", type: "0"}, {dayStr: "20180718", type: "0"}, {dayStr: "20180719", type: "0"}, {dayStr: "20180720", type: "0"}, {dayStr: "20180721", type: "1"}, {dayStr: "20180722", type: "1"}, {dayStr: "20180723", type: "0"}, {dayStr: "20180724", type: "0"}, {dayStr: "20180725", type: "0"}, {dayStr: "20180726", type: "0"}, {dayStr: "20180727", type: "0"}, {dayStr: "20180728", type: "1"}, {dayStr: "20180729", type: "1"}, {dayStr: "20180730", type: "0"}, {dayStr: "20180731", type: "0"}, {dayStr: "20180801", type: "0"}, {dayStr: "20180802", type: "0"}, {dayStr: "20180803", type: "0"}, {dayStr: "20180804", type: "1"}, {dayStr: "20180805", type: "1"}, {dayStr: "20180806", type: "0"}, {dayStr: "20180807", type: "0"}, {dayStr: "20180808", type: "0"}, {dayStr: "20180809", type: "0"}, {dayStr: "20180810", type: "0"}, {dayStr: "20180811", type: "1"}, {dayStr: "20180812", type: "1"}, {dayStr: "20180813", type: "0"}, {dayStr: "20180814", type: "0"}, {dayStr: "20180815", type: "0"}, {dayStr: "20180816", type: "0"}, {dayStr: "20180817", type: "0"}, {dayStr: "20180818", type: "1"}, {dayStr: "20180819", type: "1"}, {dayStr: "20180820", type: "0"}, {dayStr: "20180821", type: "0"}, {dayStr: "20180822", type: "0"}, {dayStr: "20180823", type: "0"}, {dayStr: "20180824", type: "0"}, {dayStr: "20180825", type: "1"}, {dayStr: "20180826", type: "1"}, {dayStr: "20180827", type: "0"}, {dayStr: "20180828", type: "0"}, {dayStr: "20180829", type: "0"}, {dayStr: "20180830", type: "0"}, {dayStr: "20180831", type: "0"}, {dayStr: "20180901", type: "1"}, {dayStr: "20180902", type: "1"}, {dayStr: "20180903", type: "0"}, {dayStr: "20180904", type: "0"}, {dayStr: "20180905", type: "0"}, {dayStr: "20180906", type: "0"}, {dayStr: "20180907", type: "0"}, {dayStr: "20180908", type: "1"}, {dayStr: "20180909", type: "1"}, {dayStr: "20180910", type: "0"}, {dayStr: "20180911", type: "0"}, {dayStr: "20180912", type: "0"}, {dayStr: "20180913", type: "0"}, {dayStr: "20180914", type: "0"}, {dayStr: "20180915", type: "1"}, {dayStr: "20180916", type: "1"}, {dayStr: "20180917", type: "0"}, {dayStr: "20180918", type: "0"}, {dayStr: "20180919", type: "0"}, {dayStr: "20180920", type: "0"}, {dayStr: "20180921", type: "0"}, {dayStr: "20180922", type: "2"}, {dayStr: "20180923", type: "2"}, {dayStr: "20180924", type: "2"}, {dayStr: "20180925", type: "0"}, {dayStr: "20180926", type: "0"}, {dayStr: "20180927", type: "0"}, {dayStr: "20180928", type: "0"}, {dayStr: "20180929", type: "0"}, {dayStr: "20180930", type: "0"}, {dayStr: "20181001", type: "2"}, {dayStr: "20181002", type: "2"}, {dayStr: "20181003", type: "2"}, {dayStr: "20181004", type: "2"}, {dayStr: "20181005", type: "2"}, {dayStr: "20181006", type: "2"}, {dayStr: "20181007", type: "2"}, {dayStr: "20181008", type: "0"}, {dayStr: "20181009", type: "0"}, {dayStr: "20181010", type: "0"}, {dayStr: "20181011", type: "0"}, {dayStr: "20181012", type: "0"}, {dayStr: "20181013", type: "1"}, {dayStr: "20181014", type: "1"}, {dayStr: "20181015", type: "0"}, {dayStr: "20181016", type: "0"}, {dayStr: "20181017", type: "0"}, {dayStr: "20181018", type: "0"}, {dayStr: "20181019", type: "0"}, {dayStr: "20181020", type: "1"}, {dayStr: "20181021", type: "1"}, {dayStr: "20181022", type: "0"}, {dayStr: "20181023", type: "0"}, {dayStr: "20181024", type: "0"}, {dayStr: "20181025", type: "0"}, {dayStr: "20181026", type: "0"}, {dayStr: "20181027", type: "1"}, {dayStr: "20181028", type: "1"}, {dayStr: "20181029", type: "0"}, {dayStr: "20181030", type: "0"}, {dayStr: "20181031", type: "0"}, {dayStr: "20181101", type: "0"}, {dayStr: "20181102", type: "0"}, {dayStr: "20181103", type: "1"}, {dayStr: "20181104", type: "1"}, {dayStr: "20181105", type: "0"}, {dayStr: "20181106", type: "0"}, {dayStr: "20181107", type: "0"}, {dayStr: "20181108", type: "0"}, {dayStr: "20181109", type: "0"}, {dayStr: "20181110", type: "1"}, {dayStr: "20181111", type: "1"}, {dayStr: "20181112", type: "0"}, {dayStr: "20181113", type: "0"}, {dayStr: "20181114", type: "0"}, {dayStr: "20181115", type: "0"}, {dayStr: "20181116", type: "0"}, {dayStr: "20181117", type: "1"}, {dayStr: "20181118", type: "1"}, {dayStr: "20181119", type: "0"}, {dayStr: "20181120", type: "0"}, {dayStr: "20181121", type: "0"}, {dayStr: "20181122", type: "0"}, {dayStr: "20181123", type: "0"}, {dayStr: "20181124", type: "1"}, {dayStr: "20181125", type: "1"}, {dayStr: "20181126", type: "0"}, {dayStr: "20181127", type: "0"}, {dayStr: "20181128", type: "0"}, {dayStr: "20181129", type: "0"}, {dayStr: "20181130", type: "0"}, {dayStr: "20181201", type: "1"}, {dayStr: "20181202", type: "1"}, {dayStr: "20181203", type: "0"}, {dayStr: "20181204", type: "0"}, {dayStr: "20181205", type: "0"}, {dayStr: "20181206", type: "0"}, {dayStr: "20181207", type: "0"}, {dayStr: "20181208", type: "1"}, {dayStr: "20181209", type: "1"}, {dayStr: "20181210", type: "0"}, {dayStr: "20181211", type: "0"}, {dayStr: "20181212", type: "0"}, {dayStr: "20181213", type: "0"}, {dayStr: "20181214", type: "0"}, {dayStr: "20181215", type: "1"}, {dayStr: "20181216", type: "1"}, {dayStr: "20181217", type: "0"}, {dayStr: "20181218", type: "0"}, {dayStr: "20181219", type: "0"}, {dayStr: "20181220", type: "0"}, {dayStr: "20181221", type: "0"}, {dayStr: "20181222", type: "1"}, {dayStr: "20181223", type: "1"}, {dayStr: "20181224", type: "0"}, {dayStr: "20181225", type: "0"}, {dayStr: "20181226", type: "0"}, {dayStr: "20181227", type: "0"}, {dayStr: "20181228", type: "0"}, {dayStr: "20181229", type: "1"}, {dayStr: "20181230", type: "1"}, {dayStr: "20181231", type: "0"} ]
相关推荐
1.节假日万年历接口,这个是RollToolsApi系列接口,能实现查询指定日期/月份/年份/时间范围的节假日和万年历信息,万年历的信息包含农历信息,宜忌等信息。这个接口的主要特点是,返回某个节日是否是工作日,节日和...
【免费节假日api开源版free_jiari_api】是一款专为开发者设计的API服务,它提供了对2019年所有节假日信息的访问。由于免费版本的高访问量可能对服务器造成过大的压力,开发者选择将其开源,使得用户可以离线本地化地...
交易日节假日查询 API 接口规范 本API接口规范是为了提供交易日节假日查询服务,帮助用户快速查询交易日和工作日的信息。本文将详细介绍该API接口的使用方法、请求参数、返回结果、错误码等信息。 一、接口规范 ...
Java 节假日算法是指在给定的日期范围内,计算包含假期的天数的算法。在这个算法中,我们可以看到三个类分别是 DateToDate、Vacation 和 WorkDate。下面我们将详细解释这个算法的实现过程。 首先,DateToDate 类中...
可供iPhone、Google Calendar、Outlook等客户端订阅,同时包含了节假日API。用户可以方便地获取并同步中国的各项假期信息,轻松规划生活和工作。 节假日信息来自中国政府网,一手信息、权威准确 包含最近3年的节假日...
"日期计算:两个日期间计算除去节假日非工作时间" 在 Java 语言中,计算两个日期之间的工作日时间是一个常见的需求,特别是在需要排除周末和法定节假日的情况下。本文将通过一个示例代码,详细介绍如何计算两个日期...
在编程领域,尤其是在数据分析、日程管理或者时间序列分析中,计算两个日期之间的差异并考虑工作日排除节假日和周末是一项常见的任务。C++作为一种强大的系统级编程语言,提供了丰富的库来处理日期和时间操作。本篇...
表格模板-有关节假日的计算.ett
2022年国家节假日JSON数据,对应全年的上班日、周末、节假日。其中,type:0代表上班 1周末休息 2节假日
节假日判断函数是一种计算指定日期内哪些为工作日、节假日的函数。该函数主要用于计算两个日期相差的工作天数,并且可以根据指定的节假日表来判断哪些日期是节假日。 知识点1:工作日计算函数 函数f_WorkDay用于...
* 04-获取一年中法定节假日的天数。 * 05-获取一年中需要补班的周末天数。 * 06-获取一年中周末的天数(周六+周日)。 * 07-获取一年中休息日的天数(法定节假日+不需要补班的周末)。 * 节假日信息配置表,...
2020年-2023年节假日明细表,包括日期、节假日类型等字段,可直接导入SQL server等数据库使用
3. **工具类设计**:工具类通常包含一个静态方法,接受年份作为参数,然后根据定义的规则生成该年的节假日列表。这个列表可以是`List<LocalDate>`或其他支持日期操作的数据结构。 4. **节假日计算**:在工具类的...
java代码先获取全年的周末周日,定义全年的法定节假日,然后根据输入的日期计算,当前日期后的工作日,也可以用于计算工作日
根据给定的信息,我们可以了解到这份文档是关于2019年节假日SQL数据的创建与插入操作,主要涉及到了具体的节假日日期、类型等信息。接下来,我们将深入解析标题、描述及部分代码内容中的关键知识点。 ### SQL表结构...
获取法定节假日信息 使用说明 自动更新 保存到数据库中,减少对网络依赖 只有一个接口,调用简单 个人项目,不保证永久维护 开源免费 直接使用 接口地址 http://api.haoshenqi.top/holiday 参数 eg: ...
计算两个日期相隔天数并减去节假日,这个可以使用在各种需要通知的场景以及工作日提醒等
2023年国家节假日JSON数据。 对应全年的上班日、周末、节假日。 其中,type:0代表上班 1周末休息 2节假日。
- **API接口集成**:高级的解决方案可能会提供API接口,允许与其他日历服务或第三方数据源同步节假日信息。 3. **节假日设置的应用场景**: - **人力资源管理**:HR系统会根据节假日设定调整员工考勤、排班和休假...
首先,我们看到代码中定义了两个数组,`jrdate_2017` 和 `jrdate_2018`,分别包含了2017年和2018年的法定节假日日期。另外还有两个数组 `txr_2017` 和 `txr_2018`,用于存储相应年份的调休日(如周末补班等)。这些...