org.datanucleus.sco.simple
Class GregorianCalendarJDK14

java.lang.Object
  extended by java.util.Calendar
      extended by java.util.GregorianCalendar
          extended by org.datanucleus.sco.simple.GregorianCalendar
              extended by org.datanucleus.sco.simple.GregorianCalendarJDK14
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<java.util.Calendar>, SCO

public class GregorianCalendarJDK14
extends GregorianCalendar

A mutable second-class GregorianCalendar object.

Version:
$Revision: 1.4 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.GregorianCalendar
AD, BC
 
Fields inherited from class java.util.Calendar
ALL_STYLES, AM, AM_PM, APRIL, areFieldsSet, AUGUST, DATE, DAY_OF_MONTH, DAY_OF_WEEK, DAY_OF_WEEK_IN_MONTH, DAY_OF_YEAR, DECEMBER, DST_OFFSET, ERA, FEBRUARY, FIELD_COUNT, fields, FRIDAY, HOUR, HOUR_OF_DAY, isSet, isTimeSet, JANUARY, JULY, JUNE, LONG, MARCH, MAY, MILLISECOND, MINUTE, MONDAY, MONTH, NOVEMBER, OCTOBER, PM, SATURDAY, SECOND, SEPTEMBER, SHORT, SUNDAY, THURSDAY, time, TUESDAY, UNDECIMBER, WEDNESDAY, WEEK_OF_MONTH, WEEK_OF_YEAR, YEAR, ZONE_OFFSET
 
Constructor Summary
GregorianCalendarJDK14(StateManager ownerSM, java.lang.String fieldName)
          Creates a GregorianCalendar object that represents the time at which it was allocated.
 
Method Summary
 void set(int field, int value)
          Method to set a field
 
Methods inherited from class org.datanucleus.sco.simple.GregorianCalendar
add, attachCopy, clone, detachCopy, getFieldName, getOwner, getValue, initialise, initialise, makeDirty, roll, roll, setFirstDayOfWeek, setGregorianChange, setLenient, setMinimalDaysInFirstWeek, setTimeInMillis, setTimeZone, unsetOwner, writeReplace
 
Methods inherited from class java.util.GregorianCalendar
computeFields, computeTime, equals, getActualMaximum, getActualMinimum, getGreatestMinimum, getGregorianChange, getLeastMaximum, getMaximum, getMinimum, getTimeZone, hashCode, isLeapYear
 
Methods inherited from class java.util.Calendar
after, before, clear, clear, compareTo, complete, get, getAvailableLocales, getDisplayName, getDisplayNames, getFirstDayOfWeek, getInstance, getInstance, getInstance, getInstance, getMinimalDaysInFirstWeek, getTime, getTimeInMillis, internalGet, isLenient, isSet, set, set, set, setTime, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GregorianCalendarJDK14

public GregorianCalendarJDK14(StateManager ownerSM,
                              java.lang.String fieldName)
Creates a GregorianCalendar object that represents the time at which it was allocated. Assigns owning object and field name.

Parameters:
ownerSM - the owning object
fieldName - the owning field name
Method Detail

set

public void set(int field,
                int value)
Method to set a field

Overrides:
set in class java.util.Calendar
Parameters:
field - The field
value - The new value


Copyright © 2009. All Rights Reserved.