public class CommonCalendarFacadeAdaptor extends java.lang.Object implements CommonCalendar
| コンストラクタと説明 |
|---|
CommonCalendarFacadeAdaptor(CommonCalendarFacade facade)
コンストラクタ
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
java.util.Date |
getAfterBusinessDay(Key calendarName,
Session filterSession,
java.util.Date base,
int offset)
未来方向の営業日を取得する。
|
java.util.Date |
getBeforeBusinessDay(Key calendarName,
Session filterSession,
java.util.Date base,
int offset)
過去方向の営業日を取得する。
|
java.lang.Integer |
getBusinessDayOfFromTo(Key calendarName,
Session filterSession,
java.util.Date from,
java.util.Date to)
引数で指定されたfromの日付とtoの日付の間に営業日が何日間あるかをjava.lang.Integerで返す。
|
java.util.Collection |
getHoliDayListOfFromTo(Key calendarName,
Session filterSession,
java.util.Date from,
java.util.Date to)
引数で指定されたfromの日付とtoの日付の間に休日リストをjava.util.Collectionで返す。
|
boolean |
isBusinessDay(Key calendarName,
Session filterSession,
java.util.Date date)
営業日であるかを判定する。
|
public CommonCalendarFacadeAdaptor(CommonCalendarFacade facade)
facade - public java.util.Date getAfterBusinessDay(Key calendarName, Session filterSession, java.util.Date base, int offset) throws CalendarException
CommonCalendargetAfterBusinessDay インタフェース内 CommonCalendarcalendarName - 検索対象のカレンダマスタモデル名(Key)filterSession - フィルタ用セッションbase - 営業日を取得するに当たっての基準日offset - 基準日から何日後を取得したいのかの指定CalendarException - 営業日の取得に失敗public java.util.Date getBeforeBusinessDay(Key calendarName, Session filterSession, java.util.Date base, int offset) throws CalendarException
CommonCalendargetBeforeBusinessDay インタフェース内 CommonCalendarcalendarName - 検索対象のカレンダマスタモデル名(Key)filterSession - フィルタ用セッションbase - 営業日を取得するに当たっての基準日offset - 基準日から何日前を取得したいのかの指定CalendarException - 営業日の取得に失敗public java.lang.Integer getBusinessDayOfFromTo(Key calendarName, Session filterSession, java.util.Date from, java.util.Date to) throws CalendarException
CommonCalendargetBusinessDayOfFromTo インタフェース内 CommonCalendarcalendarName - 検索対象のカレンダマスタモデル名(Key)filterSession - フィルタ用セッションfrom - 営業日の日数を知りたい未来日側の日付。CalendarException - 営業日日数の取得に失敗public java.util.Collection getHoliDayListOfFromTo(Key calendarName, Session filterSession, java.util.Date from, java.util.Date to) throws CalendarException
CommonCalendargetHoliDayListOfFromTo インタフェース内 CommonCalendarfilterSession - フィルタ用セッションfrom - 休日を知りたい未来日側の日付。to - 休日を知りたい過去日側の日付。CalendarException - 休日リスト取得に失敗public boolean isBusinessDay(Key calendarName, Session filterSession, java.util.Date date) throws CalendarException
CommonCalendarisBusinessDay インタフェース内 CommonCalendarcalendarName - 検索対象のカレンダマスタモデル名(Key)filterSession - フィルタ用セッションdate - 営業日かを判定したい日付CalendarException - 営業日の取得に失敗