Joda System API

org.joda.property.impl.type
Class DefaultDateProperty

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

public class DefaultDateProperty
extends AbstractDateTimeProperty
implements DateProperty

Standard implementation of a Date property.

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.DateProperty
DEFAULT_TYPE
 
Constructor Summary
DefaultDateProperty()
          Constructor
 
Method Summary
 java.lang.String toDataString()
          To string
 
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, 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.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

DefaultDateProperty

public DefaultDateProperty()
Constructor

Method Detail

toDataString

public java.lang.String toDataString()
To string

Specified by:
toDataString in interface DataProperty
Overrides:
toDataString in class AbstractProperty
Returns:
date part of ISO format only

Joda System API

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