List of usage examples for org.joda.time DateTimeField getType
public abstract DateTimeFieldType getType();
From source file:org.netxilia.api.utils.ReadablePartialWithDefault.java
License:Open Source License
@Override public int getValue(int index) { DateTimeField field = fullDateTime.getField(index); if (partial.isSupported(field.getType())) { return partial.get(field.getType()); }/*ww w.j a v a 2 s .c o m*/ return fullDateTime.get(field.getType()); }