Uses of Class
com.jrefinery.date.SerialDate

Packages that use SerialDate
com.jrefinery.date Date classes. 
com.jrefinery.ui Utility classes for creating user interfaces. 
 

Uses of SerialDate in com.jrefinery.date
 

Subclasses of SerialDate in com.jrefinery.date
 class SpreadsheetDate
          Represents a date using an integer, in a similar fashion to the implementation in Microsoft Excel.
 

Methods in com.jrefinery.date that return SerialDate
abstract  SerialDate AnnualDateRule.getDate(int year)
          Returns the date for this rule, given the year.
 SerialDate DayAndMonthRule.getDate(int yyyy)
          Returns the date, given the year.
 SerialDate RelativeDayOfWeekRule.getDate(int year)
          Returns the date generated by this rule, for the specified year.
static SerialDate SerialDate.addDays(int days, SerialDate base)
          Creates a new date by adding the specified number of days to the base date.
static SerialDate SerialDate.addMonths(int months, SerialDate base)
          Creates a new date by adding the specified number of months to the base date.
static SerialDate SerialDate.addYears(int years, SerialDate base)
          Creates a new date by adding the specified number of years to the base date.
static SerialDate SerialDate.getPreviousDayOfWeek(int targetWeekday, SerialDate base)
          Returns the latest date that falls on the specified day-of-the-week and is BEFORE the base date.
static SerialDate SerialDate.getFollowingDayOfWeek(int targetWeekday, SerialDate base)
          Returns the earliest date that falls on the specified day-of-the-week and is AFTER the base date.
static SerialDate SerialDate.getNearestDayOfWeek(int targetDOW, SerialDate base)
          Returns the date that falls on the specified day-of-the-week and is CLOSEST to the base date.
 SerialDate SerialDate.getEndOfCurrentMonth(SerialDate base)
          Rolls the date forward to the last day of the month.
static SerialDate SerialDate.createInstance(int day, int month, int yyyy)
          Factory method that returns an instance of some concrete subclass of SerialDate.
static SerialDate SerialDate.createInstance(int serial)
          Factory method that returns an instance of some concrete subclass of SerialDate.
static SerialDate SerialDate.createInstance(java.util.Date date)
          Factory method that returns an instance of a subclass of SerialDate.
 SerialDate SerialDate.getPreviousDayOfWeek(int targetDOW)
          Returns the latest date that falls on the specified day-of-the-week and is BEFORE this date.
 SerialDate SerialDate.getFollowingDayOfWeek(int targetDOW)
          Returns the earliest date that falls on the specified day-of-the-week and is AFTER this date.
 SerialDate SerialDate.getNearestDayOfWeek(int targetDOW)
          Returns the nearest date that falls on the specified day-of-the-week.
 SerialDate DayOfWeekInMonthRule.getDate(int year)
          Return the date for this rule, given the year.
 SerialDate EasterSundayRule.getDate(int year)
          Returns the date of Easter Sunday for the given year.
 

Methods in com.jrefinery.date with parameters of type SerialDate
static SerialDate SerialDate.addDays(int days, SerialDate base)
          Creates a new date by adding the specified number of days to the base date.
static SerialDate SerialDate.addMonths(int months, SerialDate base)
          Creates a new date by adding the specified number of months to the base date.
static SerialDate SerialDate.addYears(int years, SerialDate base)
          Creates a new date by adding the specified number of years to the base date.
static SerialDate SerialDate.getPreviousDayOfWeek(int targetWeekday, SerialDate base)
          Returns the latest date that falls on the specified day-of-the-week and is BEFORE the base date.
static SerialDate SerialDate.getFollowingDayOfWeek(int targetWeekday, SerialDate base)
          Returns the earliest date that falls on the specified day-of-the-week and is AFTER the base date.
static SerialDate SerialDate.getNearestDayOfWeek(int targetDOW, SerialDate base)
          Returns the date that falls on the specified day-of-the-week and is CLOSEST to the base date.
 SerialDate SerialDate.getEndOfCurrentMonth(SerialDate base)
          Rolls the date forward to the last day of the month.
abstract  int SerialDate.compare(SerialDate other)
          Returns the difference (in days) between this date and the specified 'other' date.
abstract  boolean SerialDate.isOn(SerialDate other)
          Returns true if this SerialDate represents the same date as the specified SerialDate.
abstract  boolean SerialDate.isBefore(SerialDate other)
          Returns true if this SerialDate represents an earlier date compared to the specified SerialDate.
abstract  boolean SerialDate.isOnOrBefore(SerialDate other)
          Returns true if this SerialDate represents the same date as the specified SerialDate.
abstract  boolean SerialDate.isAfter(SerialDate other)
          Returns true if this SerialDate represents the same date as the specified SerialDate.
abstract  boolean SerialDate.isOnOrAfter(SerialDate other)
          Returns true if this SerialDate represents the same date as the specified SerialDate.
abstract  boolean SerialDate.isInRange(SerialDate d1, SerialDate d2)
          Returns true if this SerialDate is within the specified range (INCLUSIVE).
abstract  boolean SerialDate.isInRange(SerialDate d1, SerialDate d2, int include)
          Returns true if this SerialDate is within the specified range (caller specifies whether or not the end-points are included).
 int SpreadsheetDate.compare(SerialDate other)
          Returns the difference (in days) between this date and the specified 'other' date.
 boolean SpreadsheetDate.isOn(SerialDate other)
          Returns true if this SerialDate represents the same date as the specified SerialDate.
 boolean SpreadsheetDate.isBefore(SerialDate other)
          Returns true if this SerialDate represents an earlier date compared to the specified SerialDate.
 boolean SpreadsheetDate.isOnOrBefore(SerialDate other)
          Returns true if this SerialDate represents the same date as the specified SerialDate.
 boolean SpreadsheetDate.isAfter(SerialDate other)
          Returns true if this SerialDate represents the same date as the specified SerialDate.
 boolean SpreadsheetDate.isOnOrAfter(SerialDate other)
          Returns true if this SerialDate represents the same date as the specified SerialDate.
 boolean SpreadsheetDate.isInRange(SerialDate d1, SerialDate d2)
          Returns true if this SerialDate is within the specified range (INCLUSIVE).
 boolean SpreadsheetDate.isInRange(SerialDate d1, SerialDate d2, int include)
          Returns true if this SerialDate is within the specified range (caller specifies whether or not the end-points are included).
static int SerialDateUtilities.dayCountActual(SerialDate start, SerialDate end)
          Returns the actual number of days between two dates.
static int SerialDateUtilities.dayCount30(SerialDate start, SerialDate end)
          Returns the number of days between the specified start and end dates, assuming that there are thirty days in every month (that is, corresponding to the 30/360 day-count convention).
static int SerialDateUtilities.dayCount30ISDA(SerialDate start, SerialDate end)
          Returns the number of days between the specified start and end dates, assuming that there are thirty days in every month, and applying the ISDA adjustments (i.e.
static int SerialDateUtilities.dayCount30PSA(SerialDate start, SerialDate end)
          Returns the number of days between the specified start and end dates, assuming that there are thirty days in every month, and applying the PSA adjustments (i.e.
static int SerialDateUtilities.dayCount30E(SerialDate start, SerialDate end)
          Returns the number of days between the specified start and end dates, assuming that there are thirty days in every month, and applying the European adjustment (i.e.
static boolean SerialDateUtilities.isLastDayOfFebruary(SerialDate d)
          Returns true if the specified date is the last day in February (i.e.
static int SerialDateUtilities.countFeb29s(SerialDate start, SerialDate end)
          Returns the number of times that February 29 falls within the specified date range.
 

Uses of SerialDate in com.jrefinery.ui
 

Methods in com.jrefinery.ui that return SerialDate
 SerialDate SerialDateChooserPanel.getDate()
          Returns the date selected in the panel.
protected  SerialDate SerialDateChooserPanel.getFirstVisibleDate()
          Returns the first date that is visible in the grid.
 

Methods in com.jrefinery.ui with parameters of type SerialDate
 void SerialDateChooserPanel.setDate(SerialDate date)
          Sets the date chosen in the panel.
protected  java.awt.Color SerialDateChooserPanel.getButtonColor(SerialDate targetDate)
          Returns the button color according to the specified date.
 

Constructors in com.jrefinery.ui with parameters of type SerialDate
SerialDateChooserPanel(SerialDate date, boolean controlPanel)
          Constructs a new date chooser panel.
SerialDateChooserPanel(SerialDate date, boolean controlPanel, java.awt.Color dateButtonColor, java.awt.Color monthButtonColor)
          Constructs a new date chooser panel.