JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.util.calendar
Class JCCalendar.DayOfWeek

java.lang.Object
  |
  +--com.klg.jclass.util.calendar.JCCalendar.DayOfWeek
All Implemented Interfaces:
SpecialDate
Enclosing class:
JCCalendar

public static class JCCalendar.DayOfWeek
extends Object
implements SpecialDate

Class to store a day of the week.

For example:
Sunday --> new DayOfWeek(0)


Field Summary
 int day_of_week
           
 
Constructor Summary
JCCalendar.DayOfWeek(int day_of_week)
          Creates a class with the specified day of week.
 
Method Summary
 boolean isSpecialDate(int year, int month, int date, int week)
          Returns whether the given date is special.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

day_of_week

public int day_of_week
Constructor Detail

JCCalendar.DayOfWeek

public JCCalendar.DayOfWeek(int day_of_week)
Creates a class with the specified day of week.

Parameters:
day_of_week - 0 based (0 - Sunday ... 6 - Saturday)
Method Detail

isSpecialDate

public boolean isSpecialDate(int year,
                             int month,
                             int date,
                             int week)
Returns whether the given date is special.

Specified by:
isSpecialDate in interface SpecialDate
Parameters:
year - the year to use (for example, 1997)
month - the month (0 to 11)
date - the day of the month
week - the week of the month
Returns:
Is the date specified special?

Copyright © 2004 Quest Software Inc..
All rights reserved.