⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ganttcalendardays.java

📁 It is all about project scheduling. GanttProject is a tool for creating a project schedule by means
💻 JAVA
字号:
/*************************************************************************** GanttCalendarDays.java  -  description ------------------- begin                : jan 2004 copyright            : (C) 2004 by Thomas Alexandre email                : alexthomas(at)ganttproject.org ***************************************************************************//*************************************************************************** *                                                                         * *   This program is free software; you can redistribute it and/or modify  * *   it under the terms of the GNU General Public License as published by  * *   the Free Software Foundation; either version 2 of the License, or     * *   (at your option) any later version.                                   * *                                                                         * ***************************************************************************/package net.sourceforge.ganttproject;import java.util.ArrayList;/** *  */public class GanttCalendarDays {    /** List of non working days */    private ArrayList dayList = null;    /* Default constructor */    public GanttCalendarDays() {        dayList = new ArrayList();    }    /* constructor */    public GanttCalendarDays(ArrayList dayList) {        this.dayList = dayList;    }    /** Insert the day on the daylist */    public void insert(GanttCalendar day) {        if (!dayList.contains(day))            dayList.add(day);    }    /** Remove the selected day */    public void remove(GanttCalendar day) {        int index = dayList.indexOf(day);        if (index >= 0)            dayList.remove(index);    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -