Joda System API

org.joda.property.impl.type
Class DefaultDateTimeProperty

java.lang.Object
  |
  +--org.joda.property.impl.AbstractModelElement
        |
        +--org.joda.property.impl.AbstractProperty
              |
              +--org.joda.property.impl.type.AbstractDateTimeProperty
                    |
                    +--org.joda.property.impl.type.DefaultDateTimeProperty
All Implemented Interfaces:
java.lang.Comparable, DataProperty, DateProperty, DateTimeProperty, InitializableProperty, InstantProperty, ModelElement, Property, Property.Internal, org.joda.time.ReadableInstant, org.joda.time.ReadWritableInstant, java.io.Serializable, TimeProperty

public class DefaultDateTimeProperty
extends AbstractDateTimeProperty
implements DateTimeProperty

Standard implementation of a DateTime read/write property. This is a view over two separate fields, rather than one field with two sub-views. The modifiable flag is implemented as one flag for all three objects.

Author:
Stephen Colebourne
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.joda.property.Property
Property.Internal
 
Field Summary
 
Fields inherited from class org.joda.property.impl.type.AbstractDateTimeProperty
JAN_1ST_10000, JAN_1ST_1583, MILLIS_PER_DAY, MILLIS_PER_HOUR, MILLIS_PER_MINUTE, MILLIS_PER_SECOND, MILLIS_PER_WEEK
 
Fields inherited from interface org.joda.property.type.DateTimeProperty
DEFAULT_TYPE
 
Constructor Summary
DefaultDateTimeProperty()
           
 
Methods inherited from class org.joda.property.impl.type.AbstractDateTimeProperty
add, add, addDays, addHours, addMillis, addMillisOfSecond, addMinutes, addMonths, addSeconds, addWeeks, addWrapped, addWrappedDayOfMonth, addWrappedDayOfWeek, addWrappedDayOfYear, addWrappedHourOfDay, addWrappedMillisOfSecond, addWrappedMinuteOfHour, addWrappedMonthOfYear, addWrappedSecondOfMinute, addWrappedYear, addYears, compareTo, convertObjectToDate, convertObjectToDateTime, convertObjectToTime, get, get, getChronology, getDateTimeZone, getDayOfMonth, getDayOfWeek, getDayOfYear, getHourOfDay, getInternal, getMillis, getMillisOfSecond, getMinuteOfHour, getMonthOfYear, getPropertyType, getSecondOfMinute, getWeekOfWeekyear, getWeekyear, getYear, getZeroedMillis, isAfter, isBefore, isEqual, propertyType, set, set, setDate, setDate, setDate, setDateTime, setDateTime, setDateTime, setDateTime, setDateTime, setDateTime, setDateTime, setDayOfMonth, setDayOfWeek, setDayOfYear, setHourOfDay, setInternal, setInternal, setMillis, setMillis, setMillisOfSecond, setMinuteOfHour, setMonthOfYear, setSecondOfMinute, setTime, setTime, setTime, setTime, setTime, setWeekOfYear, setYear, toCalendar, toCopy, toCopy, toDate, toDateTime, toGregorianCalendar, toInstant, toObject
 
Methods inherited from class org.joda.property.impl.AbstractProperty
addPropertyChangeListener, bean, checkArgumentNotNull, checkModifiable, checkValueNotNull, checkValueNotNull, cloneDeep, convertObject, createClonedProperty, data, equals, equalsValue, firePropertyChange, firePropertyChange, getContentName, getContentType, getPropertyName, getThis, hashCode, initBeanCreated, initPropertyCreated, isModifiable, isNull, isReadOnly, populateClonedProperty, removePropertyChangeListener, setModifiable, setReadOnly, toDataString, toString
 
Methods inherited from class org.joda.property.impl.AbstractModelElement
getAttribute, getAttributeCount, getAttributeMap, setAttribute
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.joda.property.type.InstantProperty
get, toCalendar, toDate, toGregorianCalendar
 
Methods inherited from interface org.joda.property.type.DataProperty
toDataString
 
Methods inherited from interface org.joda.property.Property
addPropertyChangeListener, bean, equals, equalsValue, firePropertyChange, getContentName, getContentType, getPropertyName, getPropertyType, hashCode, isModifiable, isNull, isReadOnly, removePropertyChangeListener, set, setModifiable, setReadOnly, toObject, toString
 
Methods inherited from interface org.joda.property.ModelElement
getAttribute, getAttributeCount, getAttributeMap, setAttribute
 
Methods inherited from interface org.joda.time.ReadWritableInstant
add, add, addMillis, addWrapped, set, setMillis, setMillis
 
Methods inherited from interface org.joda.time.ReadableInstant
compareTo, equals, get, getChronology, getDateTimeZone, getMillis, hashCode, isAfter, isBefore, isEqual, toCopy, toCopy, toInstant, toString
 

Constructor Detail

DefaultDateTimeProperty

public DefaultDateTimeProperty()

Joda System API

Copyright © 2001-2003 Stephen Colebourne. All Rights Reserved.