public interface CommonCalendar
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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)
営業日であるかを判定する。
|
java.util.Date getBeforeBusinessDay(Key calendarName, Session filterSession, java.util.Date base, int offset) throws CalendarException
calendarName - 検索対象のカレンダマスタモデル名(Key)filterSession - フィルタ用セッションbase - 営業日を取得するに当たっての基準日offset - 基準日から何日前を取得したいのかの指定CalendarException - 営業日の取得に失敗java.util.Date getAfterBusinessDay(Key calendarName, Session filterSession, java.util.Date base, int offset) throws CalendarException
calendarName - 検索対象のカレンダマスタモデル名(Key)filterSession - フィルタ用セッションbase - 営業日を取得するに当たっての基準日offset - 基準日から何日後を取得したいのかの指定CalendarException - 営業日の取得に失敗java.lang.Integer getBusinessDayOfFromTo(Key calendarName, Session filterSession, java.util.Date from, java.util.Date to) throws CalendarException
calendarName - 検索対象のカレンダマスタモデル名(Key)filterSession - フィルタ用セッションfrom - 営業日の日数を知りたい未来日側の日付。base - 営業日の日数を知りたい過去日側の日付。CalendarException - 営業日日数の取得に失敗java.util.Collection getHoliDayListOfFromTo(Key calendarName, Session filterSession, java.util.Date from, java.util.Date to) throws CalendarException
filterSession - フィルタ用セッションfrom - 休日を知りたい未来日側の日付。to - 休日を知りたい過去日側の日付。CalendarException - 休日リスト取得に失敗boolean isBusinessDay(Key calendarName, Session filterSession, java.util.Date date) throws CalendarException
calendarName - 検索対象のカレンダマスタモデル名(Key)filterSession - フィルタ用セッションdate - 営業日かを判定したい日付CalendarException - 営業日の取得に失敗