public StringBuffer format(Object pObj, StringBuffer pAppendTo, FieldPosition pPos) {
return df.format(((Calendar) pObj).getTime(), pAppendTo, pPos);
}
public Object parseObject(String pSource, ParsePosition pPos) {
Calendar cal = Calendar.getInstance();
cal.setTime((Date) df.parseObject(pSource, pPos));
return cal;
}
};
testAllElement(otherDateTimeFormat, otherDateFormat, otherTimeFormat);
}