Save This Page
Home » jcommon-1.0.13 » org.jfree.date » [javadoc | source]
org.jfree.date
public class: DayOfWeekInMonthRule [javadoc | source]
java.lang.Object
   org.jfree.date.AnnualDateRule
      org.jfree.date.DayOfWeekInMonthRule

All Implemented Interfaces:
    Cloneable

An annual date rule that specifies the nth day of the week in a given month (for example, the third Wednesday in June, or the last Friday in November).
Constructor:
 public DayOfWeekInMonthRule() 
 public DayOfWeekInMonthRule(int count,
    int dayOfWeek,
    int month) 
Method from org.jfree.date.DayOfWeekInMonthRule Summary:
getCount,   getDate,   getDayOfWeek,   getMonth,   setCount,   setDayOfWeek,   setMonth
Methods from org.jfree.date.AnnualDateRule:
clone,   getDate
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jfree.date.DayOfWeekInMonthRule Detail:
 public int getCount() 
    Returns the 'count' for this rule (one of FIRST, SECOND, THIRD, FOURTH and LAST).
 public SerialDate getDate(int year) 
    Return the date for this rule, given the year.
 public int getDayOfWeek() 
    Returns the day-of-the-week for this rule (SerialDate.MONDAY, SerialDate.TUESDAY, etc.).
 public int getMonth() 
    Returns the month for this rule.
 public  void setCount(int count) 
    Sets the 'count' for this rule (one of FIRST, SECOND, THIRD, FOURTH and LAST).
 public  void setDayOfWeek(int dayOfWeek) 
    Sets the day-of-the-week for this rule.
 public  void setMonth(int month) 
    Sets the month for this rule.