Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.joda.time.field
Class TestBaseDateTimeField.MockPartial  view TestBaseDateTimeField.MockPartial download TestBaseDateTimeField.MockPartial.java

java.lang.Object
  extended byorg.joda.time.base.AbstractPartial
      extended byorg.joda.time.base.BasePartial
          extended byorg.joda.time.field.TestBaseDateTimeField.MockPartial
All Implemented Interfaces:
java.lang.Comparable, org.joda.time.ReadablePartial, java.io.Serializable
Enclosing class:
TestBaseDateTimeField

static class TestBaseDateTimeField.MockPartial
extends org.joda.time.base.BasePartial


Field Summary
 
Fields inherited from class org.joda.time.base.BasePartial
 
Constructor Summary
(package private) TestBaseDateTimeField.MockPartial()
           
 
Method Summary
protected  org.joda.time.DateTimeField getField(int index, org.joda.time.Chronology chrono)
          Gets the field for a specific index in the chronology specified.
 int size()
          Gets the number of fields that this partial supports.
 
Methods inherited from class org.joda.time.base.BasePartial
getChronology, getValue, getValues, setValue, setValues, toString, toString
 
Methods inherited from class org.joda.time.base.AbstractPartial
compareTo, equals, get, getField, getFields, getFieldType, getFieldTypes, hashCode, indexOf, indexOf, indexOfSupported, indexOfSupported, isAfter, isBefore, isEqual, isSupported, toDateTime, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.joda.time.ReadablePartial
equals, get, getField, getFieldType, hashCode, isSupported, toDateTime, toString
 

Constructor Detail

TestBaseDateTimeField.MockPartial

TestBaseDateTimeField.MockPartial()
Method Detail

getField

protected org.joda.time.DateTimeField getField(int index,
                                               org.joda.time.Chronology chrono)
Description copied from class: org.joda.time.base.AbstractPartial
Gets the field for a specific index in the chronology specified.

This method must not use any instance variables.


size

public int size()
Description copied from interface: org.joda.time.ReadablePartial
Gets the number of fields that this partial supports.