|
WebCab Bonds v2.01 (J2SE Edition) |
|||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
See:
Description
| Interface Summary | |
| BusinessCalendar | This interface defines the concept of business calendar. |
| Class Summary | |
| AbstractBusinessCalendar | This abstract class provides default implementation for most of the methods in the BusinessCalendar
interface. |
| BusinessCalendarUtilities | Utility class. |
This package provides a general framework for the implementation of Business
Calendars with respect different locations, such as London New York, Tokyo and
so on. The main class of this package is AbstractBusinessCalendar
which offers to range of functionality to any Business Calendar instance
which inherits this class.
Details of Functionality Available with AbstractBusinessCalendar
Each instance of the business calendar will inherits the following
functionality from the AbstractBusinessCalendar:
getName() - Gets the name of the Business Calendar.
isWorkingDay - Determines whether a Date is a working day or not.
isHoliday - Determines whether a Date is a holiday or not.
checkOrder(Calendar, Calendar) - Determines whether the first parameters
really is before the second parameter.
-
daysBetween - Calculates the number a days between two dates.
-
daysOfWeekBetween - Calculates and returns the number of a certain
day (Monday's or Tuesday's etc) of a week which lie between between two dates.
-
workingDaysBetween - Calculates and returns the number of
working days between two dates.
-
daysBetweenAsPercentAtYear - Calculates the number of days
between a start and end dates as a percentage of a
year.
-
yearsBetween - Calculates and Returns the number of years
between a start and end date.
-
nextWorkingDay - Returns the next working day after a given
a date.
-
nextHoliday - Returns the next holiday day after a given
date.
-
previousPaymentDate - Returns the index of the previous payment
date related to a given date, when the array of all payment dates
is known.
-
nextPaymentDate - Returns the index of the previous payment
date related to a given date, when the array of all payment dates
is known.
|
WebCab Bonds v2.01 (J2SE Edition) |
|||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||