Java 类org.joda.time.field.UnsupportedDurationField 实例源码

项目:astor    文件:TestSerialization.java   
public void testSerializedUnsupportedDateTimeField() throws Exception {
    UnsupportedDateTimeField test = UnsupportedDateTimeField.getInstance(
            DateTimeFieldType.year(),
            UnsupportedDurationField.getInstance(DurationFieldType.years()));
    loadAndCompare(test, "UnsupportedDateTimeField", true);
    inlineCompare(test, true);
}
项目:astor    文件:TestSerialization.java   
public void testSerializedUnsupportedDateTimeField() throws Exception {
    UnsupportedDateTimeField test = UnsupportedDateTimeField.getInstance(
            DateTimeFieldType.year(),
            UnsupportedDurationField.getInstance(DurationFieldType.years()));
    loadAndCompare(test, "UnsupportedDateTimeField", true);
    inlineCompare(test, true);
}
项目:versemem-android    文件:TestSerialization.java   
public void testSerializedUnsupportedDateTimeField() throws Exception {
    UnsupportedDateTimeField test = UnsupportedDateTimeField.getInstance(
            DateTimeFieldType.year(),
            UnsupportedDurationField.getInstance(DurationFieldType.years()));
    loadAndCompare(test, "UnsupportedDateTimeField", true);
    inlineCompare(test, true);
}
项目:TinyTravelTracker    文件:BasicSingleEraDateTimeField.java   
/** @inheritDoc */
public DurationField getDurationField() {
    return UnsupportedDurationField.getInstance(DurationFieldType.eras());
}
项目:TinyTravelTracker    文件:GJEraDateTimeField.java   
public DurationField getDurationField() {
    return UnsupportedDurationField.getInstance(DurationFieldType.eras());
}
项目:astor    文件:BasicSingleEraDateTimeField.java   
/** @inheritDoc */
public DurationField getDurationField() {
    return UnsupportedDurationField.getInstance(DurationFieldType.eras());
}
项目:astor    文件:GJEraDateTimeField.java   
public DurationField getDurationField() {
    return UnsupportedDurationField.getInstance(DurationFieldType.eras());
}
项目:astor    文件:BasicSingleEraDateTimeField.java   
/** @inheritDoc */
public DurationField getDurationField() {
    return UnsupportedDurationField.getInstance(DurationFieldType.eras());
}
项目:astor    文件:GJEraDateTimeField.java   
public DurationField getDurationField() {
    return UnsupportedDurationField.getInstance(DurationFieldType.eras());
}
项目:idylfin    文件:BasicSingleEraDateTimeField.java   
/** @inheritDoc */
public DurationField getDurationField() {
    return UnsupportedDurationField.getInstance(DurationFieldType.eras());
}
项目:idylfin    文件:GJEraDateTimeField.java   
public DurationField getDurationField() {
    return UnsupportedDurationField.getInstance(DurationFieldType.eras());
}
项目:versemem-android    文件:BasicSingleEraDateTimeField.java   
/** @inheritDoc */
public DurationField getDurationField() {
    return UnsupportedDurationField.getInstance(DurationFieldType.eras());
}
项目:versemem-android    文件:GJEraDateTimeField.java   
public DurationField getDurationField() {
    return UnsupportedDurationField.getInstance(DurationFieldType.eras());
}
项目:TinyTravelTracker    文件:BaseChronology.java   
/**
 * Get the millis duration field for this chronology.
 * 
 * @return DurationField or UnsupportedDurationField if unsupported
 */
public DurationField millis() {
    return UnsupportedDurationField.getInstance(DurationFieldType.millis());
}
项目:TinyTravelTracker    文件:BaseChronology.java   
/**
 * Get the seconds duration field for this chronology.
 * 
 * @return DurationField or UnsupportedDurationField if unsupported
 */
public DurationField seconds() {
    return UnsupportedDurationField.getInstance(DurationFieldType.seconds());
}
项目:TinyTravelTracker    文件:BaseChronology.java   
/**
 * Get the minutes duration field for this chronology.
 * 
 * @return DurationField or UnsupportedDurationField if unsupported
 */
public DurationField minutes() {
    return UnsupportedDurationField.getInstance(DurationFieldType.minutes());
}
项目:TinyTravelTracker    文件:BaseChronology.java   
/**
 * Get the hours duration field for this chronology.
 * 
 * @return DurationField or UnsupportedDurationField if unsupported
 */
public DurationField hours() {
    return UnsupportedDurationField.getInstance(DurationFieldType.hours());
}
项目:TinyTravelTracker    文件:BaseChronology.java   
/**
 * Get the halfdays duration field for this chronology.
 * 
 * @return DurationField or UnsupportedDurationField if unsupported
 */
public DurationField halfdays() {
    return UnsupportedDurationField.getInstance(DurationFieldType.halfdays());
}
项目:TinyTravelTracker    文件:BaseChronology.java   
/**
 * Get the days duration field for this chronology.
 * 
 * @return DurationField or UnsupportedDurationField if unsupported
 */
public DurationField days() {
    return UnsupportedDurationField.getInstance(DurationFieldType.days());
}
项目:TinyTravelTracker    文件:BaseChronology.java   
/**
 * Get the weeks duration field for this chronology.
 * 
 * @return DurationField or UnsupportedDurationField if unsupported
 */
public DurationField weeks() {
    return UnsupportedDurationField.getInstance(DurationFieldType.weeks());
}
项目:TinyTravelTracker    文件:BaseChronology.java   
/**
 * Get the weekyears duration field for this chronology.
 * 
 * @return DurationField or UnsupportedDurationField if unsupported
 */
public DurationField weekyears() {
    return UnsupportedDurationField.getInstance(DurationFieldType.weekyears());
}
项目:TinyTravelTracker    文件:BaseChronology.java   
/**
 * Get the months duration field for this chronology.
 * 
 * @return DurationField or UnsupportedDurationField if unsupported
 */
public DurationField months() {
    return UnsupportedDurationField.getInstance(DurationFieldType.months());
}
项目:TinyTravelTracker    文件:BaseChronology.java   
/**
 * Get the years duration field for this chronology.
 * 
 * @return DurationField or UnsupportedDurationField if unsupported
 */
public DurationField years() {
    return UnsupportedDurationField.getInstance(DurationFieldType.years());
}
项目:TinyTravelTracker    文件:BaseChronology.java   
/**
 * Get the centuries duration field for this chronology.
 * 
 * @return DurationField or UnsupportedDurationField if unsupported
 */
public DurationField centuries() {
    return UnsupportedDurationField.getInstance(DurationFieldType.centuries());
}
项目:TinyTravelTracker    文件:BaseChronology.java   
/**
 * Get the eras duration field for this chronology.
 * 
 * @return DurationField or UnsupportedDurationField if unsupported
 */
public DurationField eras() {
    return UnsupportedDurationField.getInstance(DurationFieldType.eras());
}
项目:astor    文件:BaseChronology.java   
/**
 * Get the millis duration field for this chronology.
 * 
 * @return DurationField or UnsupportedDurationField if unsupported
 */
public DurationField millis() {
    return UnsupportedDurationField.getInstance(DurationFieldType.millis());
}
项目:astor    文件:BaseChronology.java   
/**
 * Get the seconds duration field for this chronology.
 * 
 * @return DurationField or UnsupportedDurationField if unsupported
 */
public DurationField seconds() {
    return UnsupportedDurationField.getInstance(DurationFieldType.seconds());
}
项目:astor    文件:BaseChronology.java   
/**
 * Get the minutes duration field for this chronology.
 * 
 * @return DurationField or UnsupportedDurationField if unsupported
 */
public DurationField minutes() {
    return UnsupportedDurationField.getInstance(DurationFieldType.minutes());
}
项目:astor    文件:BaseChronology.java   
/**
 * Get the hours duration field for this chronology.
 * 
 * @return DurationField or UnsupportedDurationField if unsupported
 */
public DurationField hours() {
    return UnsupportedDurationField.getInstance(DurationFieldType.hours());
}
项目:astor    文件:BaseChronology.java   
/**
 * Get the halfdays duration field for this chronology.
 * 
 * @return DurationField or UnsupportedDurationField if unsupported
 */
public DurationField halfdays() {
    return UnsupportedDurationField.getInstance(DurationFieldType.halfdays());
}
项目:astor    文件:BaseChronology.java   
/**
 * Get the days duration field for this chronology.
 * 
 * @return DurationField or UnsupportedDurationField if unsupported
 */
public DurationField days() {
    return UnsupportedDurationField.getInstance(DurationFieldType.days());
}
项目:astor    文件:BaseChronology.java   
/**
 * Get the weeks duration field for this chronology.
 * 
 * @return DurationField or UnsupportedDurationField if unsupported
 */
public DurationField weeks() {
    return UnsupportedDurationField.getInstance(DurationFieldType.weeks());
}
项目:astor    文件:BaseChronology.java   
/**
 * Get the weekyears duration field for this chronology.
 * 
 * @return DurationField or UnsupportedDurationField if unsupported
 */
public DurationField weekyears() {
    return UnsupportedDurationField.getInstance(DurationFieldType.weekyears());
}
项目:astor    文件:BaseChronology.java   
/**
 * Get the months duration field for this chronology.
 * 
 * @return DurationField or UnsupportedDurationField if unsupported
 */
public DurationField months() {
    return UnsupportedDurationField.getInstance(DurationFieldType.months());
}
项目:astor    文件:BaseChronology.java   
/**
 * Get the years duration field for this chronology.
 * 
 * @return DurationField or UnsupportedDurationField if unsupported
 */
public DurationField years() {
    return UnsupportedDurationField.getInstance(DurationFieldType.years());
}
项目:astor    文件:BaseChronology.java   
/**
 * Get the centuries duration field for this chronology.
 * 
 * @return DurationField or UnsupportedDurationField if unsupported
 */
public DurationField centuries() {
    return UnsupportedDurationField.getInstance(DurationFieldType.centuries());
}
项目:astor    文件:BaseChronology.java   
/**
 * Get the eras duration field for this chronology.
 * 
 * @return DurationField or UnsupportedDurationField if unsupported
 */
public DurationField eras() {
    return UnsupportedDurationField.getInstance(DurationFieldType.eras());
}
项目:astor    文件:BaseChronology.java   
/**
 * Get the millis duration field for this chronology.
 * 
 * @return DurationField or UnsupportedDurationField if unsupported
 */
public DurationField millis() {
    return UnsupportedDurationField.getInstance(DurationFieldType.millis());
}
项目:astor    文件:BaseChronology.java   
/**
 * Get the seconds duration field for this chronology.
 * 
 * @return DurationField or UnsupportedDurationField if unsupported
 */
public DurationField seconds() {
    return UnsupportedDurationField.getInstance(DurationFieldType.seconds());
}
项目:astor    文件:BaseChronology.java   
/**
 * Get the minutes duration field for this chronology.
 * 
 * @return DurationField or UnsupportedDurationField if unsupported
 */
public DurationField minutes() {
    return UnsupportedDurationField.getInstance(DurationFieldType.minutes());
}