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

📄 scheme.java~

📁 一套大型Office网络办公系统
💻 JAVA~
字号:
/* * Scheme.java * * Created on 2002年9月1日, 上午10:22 */package com.codefad.easyoffice;import com.codefad.easyoffice.db.*;import java.util.*;/** * * @author  Chu daping */public class Scheme {        private Event newEvent = null;    /** Creates a new instance of Scheme */        public AbstractList getSchemeList(String year,String month) {        Calender theCalendar = Calendar.getInstance();        theCalendar.set(Integer.parseInt(year),Integer.parseInt(month),1);        int dayNum = theCalendar.getMaximum(theCalendar.DAY_OF_MONTH);        String[] dateArray = new String[dayNum];        for (int i = 0; i<dayNum; i++) {            dateArray[i] = year+"-"+month+"-"+String.valueOf(i+1);        }        AbstractList schemeList = null;        for (int i = 0; i<dayNum; i++) {            schemeList.add(new DbEvent(dateArray[i]));        }        return schemeList;    }    }

⌨️ 快捷键说明

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