亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? dayofweekinmonthrule.java

?? 水晶 ? ?  報表 ? ? ? 源碼
?? JAVA
字號:
/* ===================================================
 * JCommon : a free general purpose Java class library
 * ===================================================
 *
 * Project Info:  http://www.jfree.org/jcommon/index.html
 * Project Lead:  David Gilbert (david.gilbert@object-refinery.com);
 *
 * (C) Copyright 2000-2003, by Object Refinery Limited and Contributors.
 *
 * This library is free software; you can redistribute it and/or modify it under the terms
 * of the GNU Lesser General Public License as published by the Free Software Foundation;
 * either version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License along with this
 * library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
 * Boston, MA 02111-1307, USA.
 *
 * -------------------------
 * DayOfWeekInMonthRule.java
 * -------------------------
 * (C) Copyright 2000-2003, by Object Refinery Limited.
 *
 * Original Author:  David Gilbert (for Object Refinery Limited);
 * Contributor(s):   -;
 *
 * $Id: DayOfWeekInMonthRule.java,v 1.2 2003/06/05 08:07:07 mungady Exp $
 *
 * Changes (from 26-Oct-2001)
 * --------------------------
 * 26-Oct-2001 : Changed package to com.jrefinery.date.*;
 * 03-Oct-2002 : Fixed errors reported by Checkstyle (DG);
 *
 */

package org.jfree.date;

/**
 * An annual date rule that specifies the nth day of the week in a given month
 * (for example, the third Wednesday in June, or the last Friday in November).
 *
 * @author David Gilbert
 */
public class DayOfWeekInMonthRule extends AnnualDateRule implements Cloneable {

    /** FIRST, SECOND, THIRD, FOURTH or LAST. */
    private int count;

    /** The day of the week (SerialDate.MONDAY, SerialDate.TUESDAY...). */
    private int dayOfWeek;

    /** The month (1 to 12, or SerialDate.JANUARY, SerialDate.FEBRUARY...). */
    private int month;

    /**
     * Default constructor: builds a rule for the first Monday in January by default.
     */
    public DayOfWeekInMonthRule() {
        this(1, SerialDate.MONDAY, SerialDate.JANUARY);
    }

    /**
     * Standard constructor: builds a rule with the specified attributes.
     *
     * @param count  one of: FIRST, SECOND, THIRD, FOURTH or LAST.
     * @param dayOfWeek  the day-of-the-week (SerialDate.MONDAY, SerialDate.TUESDAY, etc.).
     * @param month  the month (SerialDate.JANUARY, SerialDate.FEBRUARY, etc.).
     */
    public DayOfWeekInMonthRule(int count, int dayOfWeek, int month) {
        this.count = count;
        this.dayOfWeek = dayOfWeek;
        this.month = month;
    }

    /**
     * Returns the 'count' for this rule (one of FIRST, SECOND, THIRD, FOURTH and LAST).
     *
     * @return the 'count'.
     */
    public int getCount() {
        return count;
    }

    /**
     * Sets the 'count' for this rule (one of FIRST, SECOND, THIRD, FOURTH and LAST).
     *
     * @param count the 'count'.
     */
    public void setCount(int count) {
        this.count = count;
    }

    /**
     * Returns the day-of-the-week for this rule (SerialDate.MONDAY, SerialDate.TUESDAY, etc.).
     *
     * @return the day-of-the-week.
     */
    public int getDayOfWeek() {
        return dayOfWeek;
    }

    /**
     * Sets the day-of-the-week for this rule.
     *
     * @param dayOfWeek  the day-of-the-week.
     */
    public void setDayOfWeek(int dayOfWeek) {
        this.dayOfWeek = dayOfWeek;
    }

    /**
     * Returns the month for this rule.
     *
     * @return the month.
     */
    public int getMonth() {
        return month;
    }

    /**
     * Sets the month for this rule.
     *
     * @param month  the month (SerialDate.JANUARY, SerialDate.FEBRUARY, etc.).
     */
    public void setMonth(int month) {
        this.month = month;
    }

    /**
     * Return the date for this rule, given the year.
     *
     * @param year  the year.
     *
     * @return the date generated by the rule for the given year.
     */
    public SerialDate getDate(int year) {
        SerialDate result;
        if (count != SerialDate.LAST_WEEK_IN_MONTH) {
            // start at the beginning of the month
            result = SerialDate.createInstance(1, month, year);
            while (result.getDayOfWeek() != dayOfWeek) {
                result = SerialDate.addDays(1, result);
            }
            result = SerialDate.addDays(7 * (count - 1), result);

        }
        else {
            // start at the end of the month and work backwards...
            result = SerialDate.createInstance(1, month, year);
            result = result.getEndOfCurrentMonth(result);
            while (result.getDayOfWeek() != dayOfWeek) {
                result = SerialDate.addDays(-1, result);
            }

        }
        return result;
    }

}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
av中文一区二区三区| 国产在线不卡视频| 粉嫩高潮美女一区二区三区| 97精品国产露脸对白| 成人精品国产一区二区4080| 欧美—级在线免费片| 国产精品性做久久久久久| 亚洲精品一区在线观看| 老司机精品视频导航| 日韩精品一区二区三区四区视频| 日本vs亚洲vs韩国一区三区二区| 9191成人精品久久| 日本欧美大码aⅴ在线播放| 日韩一区二区三区观看| 爽好多水快深点欧美视频| 亚洲人成伊人成综合网小说| 麻豆成人久久精品二区三区红 | 在线中文字幕不卡| 亚洲人被黑人高潮完整版| 91视频观看视频| 久久久久国产精品免费免费搜索| 三级欧美在线一区| 日韩一区二区三区三四区视频在线观看| 日韩不卡一区二区| 中文字幕亚洲视频| 欧美做爰猛烈大尺度电影无法无天| 精品国精品自拍自在线| 蜜臀99久久精品久久久久久软件| 欧美r级电影在线观看| 日韩成人免费看| 国产偷国产偷精品高清尤物| 94-欧美-setu| 日韩一区精品字幕| 2023国产一二三区日本精品2022| 国产91清纯白嫩初高中在线观看| 亚洲色图一区二区| 欧美一区永久视频免费观看| 国产精品自在在线| 一区二区在线电影| 欧美不卡视频一区| 亚洲欧洲日产国码二区| 中文字幕中文字幕在线一区| 日本道色综合久久| 久久超碰97中文字幕| 美女国产一区二区三区| 国产精品免费久久久久| 欧美精选一区二区| 一本大道久久a久久综合婷婷| 国产91在线看| 91在线视频观看| 99视频精品在线| 一本大道综合伊人精品热热| 色系网站成人免费| 欧洲生活片亚洲生活在线观看| 色综合天天综合| 日本道精品一区二区三区| 日本乱码高清不卡字幕| 色综合久久99| 欧美影院一区二区三区| 欧美亚洲综合色| 91成人看片片| 555夜色666亚洲国产免| 91精品国产综合久久久蜜臀粉嫩 | 国产电影精品久久禁18| 久久99国产精品免费网站| 久久国产精品一区二区| 久久99精品国产麻豆婷婷| 国产综合久久久久影院| 97久久精品人人做人人爽50路| 视频一区在线视频| 视频一区在线播放| 男女男精品网站| 国产一区视频在线看| 国产一区二区三区视频在线播放| 国产真实乱子伦精品视频| 国产福利视频一区二区三区| www.日韩精品| 在线看一区二区| 欧美一区二区三区爱爱| 精品欧美一区二区在线观看| 国产日韩av一区| 成人免费在线播放视频| 亚洲午夜在线电影| 久久精品国产亚洲高清剧情介绍 | 日韩vs国产vs欧美| 大陆成人av片| 色屁屁一区二区| 欧美人伦禁忌dvd放荡欲情| 欧美变态凌虐bdsm| 国产精品久久久久久亚洲伦| 亚洲福利视频三区| 激情久久五月天| 91片在线免费观看| 欧美一卡2卡3卡4卡| 成人免费一区二区三区在线观看| 天天av天天翘天天综合网色鬼国产 | 国产一区欧美一区| 成人网页在线观看| 99re热视频这里只精品| 91久久国产最好的精华液| 91福利精品第一导航| 精品日韩一区二区三区免费视频| 久久综合久久99| 亚洲欧美日韩一区二区| 亚洲一二三四区不卡| 六月丁香婷婷久久| 99久久精品免费| 欧美日韩精品三区| 中文字幕乱码一区二区免费| 亚洲国产日韩在线一区模特| 国产精品一级黄| 欧美三级韩国三级日本三斤| 久久久精品tv| 丝袜美腿高跟呻吟高潮一区| 国产jizzjizz一区二区| 色94色欧美sute亚洲线路二| 久久尤物电影视频在线观看| 成人欧美一区二区三区视频网页 | 成人精品高清在线| 成人一区二区三区中文字幕| 欧美日韩国产在线播放网站| 国产精品三级久久久久三级| 日本视频一区二区三区| 日本精品视频一区二区三区| 国产午夜亚洲精品不卡| 日韩电影在线一区二区三区| 91一区二区三区在线播放| 亚洲精品在线电影| 日韩国产高清影视| 欧美日韩一区高清| 最新国产精品久久精品| 国产精品白丝jk白祙喷水网站| 欧美喷水一区二区| 亚洲天堂免费在线观看视频| 国产精品影视天天线| 欧美不卡一区二区三区| 日韩专区在线视频| 欧洲av在线精品| 一区二区三区在线免费播放 | 国产91精品露脸国语对白| 精品剧情v国产在线观看在线| 日韩精品一二三四| 精品视频123区在线观看| 一区二区三区在线观看欧美| 国产成人无遮挡在线视频| 天堂av在线一区| 99久久精品免费看国产| 日韩精品一区二区三区视频| 男人操女人的视频在线观看欧美 | 91丝袜呻吟高潮美腿白嫩在线观看| 久久免费美女视频| 另类小说欧美激情| 日韩欧美中文一区二区| 免费观看日韩av| 欧美成人综合网站| 久久99精品国产麻豆不卡| 精品99999| 成人一区二区视频| **欧美大码日韩| 一本高清dvd不卡在线观看| 亚洲一区免费观看| 在线免费观看日本欧美| 亚洲国产视频网站| 91精品国产综合久久久久久漫画| 日韩黄色小视频| 欧美tickle裸体挠脚心vk| 国产成人精品免费在线| 国产精品久久久久永久免费观看 | 欧洲一区在线电影| 成人欧美一区二区三区小说| 久久99久久精品| 2017欧美狠狠色| 国产精品香蕉一区二区三区| 国产精品三级在线观看| 色综合久久综合网97色综合| 亚洲一级在线观看| 欧美一级电影网站| 国产美女主播视频一区| 中文字幕日韩欧美一区二区三区| 91麻豆成人久久精品二区三区| 亚洲综合偷拍欧美一区色| 欧美二区三区的天堂| 国产精品1区2区3区在线观看| 国产精品毛片大码女人| 欧美午夜电影在线播放| 精品无人码麻豆乱码1区2区 | 成人毛片视频在线观看| 亚洲免费在线视频| 午夜精品久久久久久久久久| 欧美丰满少妇xxxbbb| 懂色一区二区三区免费观看| 三级不卡在线观看| 亚洲人成网站影音先锋播放| 精品精品国产高清一毛片一天堂| 99久久综合精品| 国产最新精品精品你懂的| 97se亚洲国产综合自在线 | 欧美色倩网站大全免费| 国产精品一区二区三区99| 视频一区中文字幕|