jp.co.intra_mart.foundation.security.calendar
クラス CalendarPluginLastDayInTheMonth
java.lang.Object
jp.co.intra_mart.foundation.security.calendar.CalendarPluginLastDayInTheMonth
- すべての実装インタフェース:
- CalendarPlugin
- public class CalendarPluginLastDayInTheMonth
- extends Object
- implements CalendarPlugin
カレンダデータプラグインクラス。
カレンダデータの有効無効を判定するプラグインクラスです。
月内の最終曜日を定義するためのプラグインクラスです。
利用方法:設定画面において、休日設定・月曜日・プラグイン設定で
『最終曜日』を選択して利用します。
判定基準:日付がその月の最終曜日である状態を
真値(最終曜日)として判定します。
これにより、月曜日設定と組み合わせた場合、
最終月曜日という設定が可能になります。
- 導入されたバージョン:
- 5.0
- バージョン:
- 1.0
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CalendarPluginLastDayInTheMonth
public CalendarPluginLastDayInTheMonth()
validate
public boolean validate(CalendarManager calendarManager,
CategorizedCalendarInfo categorizedCalendarInfo,
CalendarInfo calendarInfo,
Date date)
- カレンダーデータが有効かどうか検証します。
指定した日付に対して、カレンダーデータが有効かどうか検証します。
指定日付が最終曜日かどうかをチェックします。
- 定義:
- インタフェース
CalendarPlugin
内の validate
- パラメータ:
categorizedCalendarInfo
- 対象カレンダーのカテゴライズされたカレンダーデータcalendarInfo
- 対象カレンダーデータdate
- 対象の日付
- 戻り値:
- 対象のカレンダーデータが有効な場合は、trueを返却します。
Copyright © 2000-2010 NTT DATA INTRAMART CO.,LTD.. All Rights Reserved.