|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.util.calendar.JCCalendar.DateMonthYear
Class to store a DateMonthYear
value.
For example:
July 4th, 1776 --> new DateMonthYear(1776, 7, 4)
Field Summary | |
int |
date
|
int |
month
|
int |
year
|
Constructor Summary | |
JCCalendar.DateMonthYear(Calendar c)
Creates a DateMonthYear object with a date, month, and year
stored in the given Calendar object. |
|
JCCalendar.DateMonthYear(Date d)
Creates a DateMonthYear object with a date, month, and year
stored in the given Date object. |
|
JCCalendar.DateMonthYear(int date,
int month,
int year)
Creates a DateMonthYear object with the specified date,
month, and year. |
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 |
public int year
public int month
public int date
Constructor Detail |
public JCCalendar.DateMonthYear(int date, int month, int year)
DateMonthYear
object with the specified date,
month, and year.
date
- the day of the monthmonth
- 0 based: 0 = January ... 11 = Decemberyear
- the year to use (for example, 1997)public JCCalendar.DateMonthYear(Calendar c)
DateMonthYear
object with a date, month, and year
stored in the given Calendar
object.
c
- the Calendar
object which stores the specified datepublic JCCalendar.DateMonthYear(Date d)
DateMonthYear
object with a date, month, and year
stored in the given Date
object.
d
- the Date
object which stores the specified dateMethod Detail |
public boolean isSpecialDate(int year, int month, int date, int week)
isSpecialDate
in interface SpecialDate
year
- the year to use (for example, 1997)month
- the month (0 to 11)date
- the day of the monthweek
- the week of the month
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |