|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.Calendar | +--java.util.GregorianCalendar | +--ca.cbc.sportwire.servlet.data.VelocityCalendar
VelocityCalendar: Wraps GregorianCalendar into a package easier to use with Velocity
Created: Sun Dec 16 11:52:12 2001$Log: VelocityCalendar.java,v $ Revision 1.3 2001/12/17 17:50:13 garym Added date as vcal Revision 1.2 2001/12/17 09:36:26 garym default page bug fixed. debug msg errors in Lineup and vcal Revision 1.1 2001/12/16 22:01:56 garym fixes to default page handling
Field Summary | |
private java.text.DateFormat |
format
|
private java.util.Locale |
locale
|
private int |
style
|
Fields inherited from class java.util.GregorianCalendar |
AD, BC, EPOCH_JULIAN_DAY, EPOCH_YEAR, gregorianCutover, gregorianCutoverYear, JAN_1_1_JULIAN_DAY, LEAP_MONTH_LENGTH, LEAP_NUM_DAYS, LEAST_MAX_VALUES, MAX_VALUES, MIN_VALUES, MONTH_LENGTH, normalizedGregorianCutover, NUM_DAYS, ONE_DAY, ONE_HOUR, ONE_MINUTE, ONE_SECOND, ONE_WEEK, serialVersionUID |
Fields inherited from class java.util.Calendar |
AM, AM_PM, APRIL, areAllFieldsSet, areFieldsSet, AUGUST, cachedLocaleData, currentSerialVersion, DATE, DAY_OF_MONTH, DAY_OF_WEEK, DAY_OF_WEEK_IN_MONTH, DAY_OF_YEAR, DECEMBER, DST_OFFSET, ERA, FEBRUARY, FIELD_COUNT, FIELD_NAME, fields, firstDayOfWeek, FRIDAY, HOUR, HOUR_OF_DAY, INTERNALLY_SET, isSet, isTimeSet, JANUARY, JULY, JUNE, lenient, MARCH, MAY, MILLISECOND, minimalDaysInFirstWeek, MINIMUM_USER_STAMP, MINUTE, MONDAY, MONTH, nextStamp, NOVEMBER, OCTOBER, PM, SATURDAY, SECOND, SEPTEMBER, serialVersionOnStream, stamp, SUNDAY, THURSDAY, time, TUESDAY, UNDECIMBER, UNSET, WEDNESDAY, WEEK_OF_MONTH, WEEK_OF_YEAR, YEAR, zone, ZONE_OFFSET |
Constructor Summary | |
protected |
VelocityCalendar()
|
protected |
VelocityCalendar(java.lang.String timezone)
|
Method Summary | |
java.util.Date |
fromString(java.lang.String date)
|
java.text.DateFormat |
getFormat()
Get the value of format. |
static java.util.Calendar |
getInstance()
|
static java.util.Calendar |
getInstance(java.lang.String tz)
|
java.util.Locale |
getLocale()
Get the value of locale. |
int |
getStyle()
Get the value of style. |
void |
setFormat(java.util.Locale v)
Set the value of format. |
void |
setLocale(java.util.Locale v)
Set the value of locale. |
void |
setStyle(int v)
Set the value of style. |
java.lang.String |
toString()
|
Methods inherited from class java.util.GregorianCalendar |
|
Methods inherited from class java.util.Calendar |
after, before, clear, clear, clone, complete, get, getAvailableLocales, getFirstDayOfWeek, getInstance, getInstance, getInstance, getMinimalDaysInFirstWeek, getTime, getTimeInMillis, getTimeZone, internalGet, internalSet, isLenient, isSet, readObject, set, set, set, set, setFirstDayOfWeek, setLenient, setMinimalDaysInFirstWeek, setTime, setTimeInMillis, setTimeZone, setWeekCountData, updateTime, writeObject |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, registerNatives, wait, wait, wait |
Field Detail |
private java.util.Locale locale
private java.text.DateFormat format
private int style
Constructor Detail |
protected VelocityCalendar()
protected VelocityCalendar(java.lang.String timezone)
Method Detail |
public java.util.Locale getLocale()
public void setLocale(java.util.Locale v)
v
- Value to assign to locale.public java.text.DateFormat getFormat()
public int getStyle()
public void setStyle(int v)
v
- Value to assign to style.public void setFormat(java.util.Locale v)
v
- Locale for DateFormat.public static java.util.Calendar getInstance()
public static java.util.Calendar getInstance(java.lang.String tz)
public java.util.Date fromString(java.lang.String date)
public java.lang.String toString()
toString
in class java.util.Calendar
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Javadocs generated Tue Apr 23 01:08:36 EDT 2002 by garym@maya.dyndns.org
Copyright © 2002 Canadian Broadcasting Corp