001    /*
002     * Copyright (c) 2009 The openGion Project.
003     *
004     * Licensed under the Apache License, Version 2.0 (the "License");
005     * you may not use this file except in compliance with the License.
006     * You may obtain a copy of the License at
007     *
008     *     http://www.apache.org/licenses/LICENSE-2.0
009     *
010     * Unless required by applicable law or agreed to in writing, software
011     * distributed under the License is distributed on an "AS IS" BASIS,
012     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
013     * either express or implied. See the License for the specific language
014     * governing permissions and limitations under the License.
015     */
016    package org.opengion.hayabusa.resource;
017    
018    import java.util.Calendar;
019    
020    /**
021     * 事業æ‰?CDJGS) 毎ã?休日カレンãƒ?ƒ‡ータオブジェクトですã?
022     *
023     * カレンãƒ?ƒ‡ータは、指定ã?事業æ‰?�«関して、すべての休日æƒ??を持ってã�?�¾すã?
024     * å…??カレンãƒ?ƒ†ーブル(GE13)の ?‘日(DY1)?ž31日(DY31)までの日付けæ¬?�«対してã€?
025     * 休日日付けの 年月日 に対する、休日かどã�?�‹を判断できるã�?�‘のæƒ??を保持しますã?
026     * 具体的には、年月日に対する Set を持つことになりますã?
027     * こã?クラスでは、å?ての日を休日以外として扱ã�?�¾すã?
028     *
029     * @og.rev 3.6.0.0 (2004/09/17) 新規作æ?
030     * @og.group リソース管ç�?
031     *
032     * @version  4.0
033     * @author   Hiroki Nakamura
034     * @since    JDK5.0,
035     */
036    public final class CalendarPGData_NONHOLIDAY extends AbstractCalendarPGData {
037    
038            /**
039             * æŒ?®šã?日付けがã?休日かどã�?�‹を返しますã?
040             * ここでは、すべて休日以外として返しますã?
041             *
042             * @param       day     æŒ?®šã?日付け
043             *
044             * @return      休日?štrue それ以外:false
045             *
046             */
047            public boolean isHoliday( final Calendar day ) {
048    //              return day.get(Calendar.DAY_OF_WEEK) == Calendar.SUNDAY ;
049                    return false;
050            }
051    }