- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中net.objectlab.kit.datecalc.common.WorkingWeek.adjustDay()
方法的一些代码示例,展示了WorkingWeek.adjustDay()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WorkingWeek.adjustDay()
方法的具体详情如下:
包路径:net.objectlab.kit.datecalc.common.WorkingWeek
类名称:WorkingWeek
方法名:adjustDay
暂无
代码示例来源:origin: Appendium/objectlabkit
public boolean isWorkingDayFromCalendar(final int dayOfWeek) {
final int day = adjustDay(dayOfWeek);
return (WORKING_WEEK_DAYS_OFFSET[day] & workingDays) != 0;
}
代码示例来源:origin: net.objectlab.kit.datecalc/datecalc-common
public boolean isWorkingDayFromCalendar(final int dayOfWeek) {
final int day = adjustDay(dayOfWeek);
return (WORKING_WEEK_DAYS_OFFSET[day] & workingDays) != 0;
}
代码示例来源:origin: net.objectlab.kit.datecalc/datecalc-common
/**
* If the value for the given day has changed, return a NEW WorkingWeek.
*
* @param working
* true if working day
* @param dayOfWeek
* e.g. Calendar.MONDAY, Calendar.TUESDAY, etc
* @return a new instance of a <code>WorkingWeek</code> with the working
* day set
*/
public WorkingWeek withWorkingDayFromCalendar(final boolean working, final int dayOfWeek) {
final int day = adjustDay(dayOfWeek);
WorkingWeek ret = this;
if (working && (!isWorkingDayFromCalendar(dayOfWeek))) {
ret = new WorkingWeek((byte) (workingDays + WORKING_WEEK_DAYS_OFFSET[day]));
} else if (!working && isWorkingDayFromCalendar(dayOfWeek)) {
ret = new WorkingWeek((byte) (workingDays - WORKING_WEEK_DAYS_OFFSET[day]));
}
return ret;
}
代码示例来源:origin: Appendium/objectlabkit
/**
* If the value for the given day has changed, return a NEW WorkingWeek.
*
* @param working
* true if working day
* @param dayOfWeek
* e.g. Calendar.MONDAY, Calendar.TUESDAY, etc
* @return a new instance of a <code>WorkingWeek</code> with the working
* day set
*/
public WorkingWeek withWorkingDayFromCalendar(final boolean working, final int dayOfWeek) {
final int day = adjustDay(dayOfWeek);
WorkingWeek ret = this;
if (working && !isWorkingDayFromCalendar(dayOfWeek)) {
ret = new WorkingWeek((byte) (workingDays + WORKING_WEEK_DAYS_OFFSET[day]));
} else if (!working && isWorkingDayFromCalendar(dayOfWeek)) {
ret = new WorkingWeek((byte) (workingDays - WORKING_WEEK_DAYS_OFFSET[day]));
}
return ret;
}
本文整理了Java中net.objectlab.kit.datecalc.common.WorkingWeek类的一些代码示例,展示了WorkingWeek类的具体用法。这些代码示例主要来源于Gith
本文整理了Java中net.objectlab.kit.datecalc.common.WorkingWeek.withWorkingDayFromCalendar()方法的一些代码示例,展示了Wor
本文整理了Java中net.objectlab.kit.datecalc.common.WorkingWeek.isWorkingDay()方法的一些代码示例,展示了WorkingWeek.isWor
本文整理了Java中net.objectlab.kit.datecalc.common.WorkingWeek.isWorkingDayFromCalendar()方法的一些代码示例,展示了Worki
本文整理了Java中net.objectlab.kit.datecalc.common.WorkingWeek.adjustDay()方法的一些代码示例,展示了WorkingWeek.adjustDa
本文整理了Java中net.objectlab.kit.datecalc.common.WorkingWeek.getWorkingDays()方法的一些代码示例,展示了WorkingWeek.get
本文整理了Java中net.objectlab.kit.datecalc.common.WorkingWeek.()方法的一些代码示例,展示了WorkingWeek.()的具体用法。这些代码示例主要来
本文整理了Java中net.objectlab.kit.datecalc.common.WorkingWeek.intersection()方法的一些代码示例,展示了WorkingWeek.inter
我是一名优秀的程序员,十分优秀!