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)?žï¼“1日(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 }