4748495051525354555657
if (event == null || event.isNull()) { return null; } return event.date(); } @Override public DateTime expiration() {
6061626364656667686970
if (event == null || event.isNull()) { return null; } return event.date(); } /* * Object comparisons
112113114115116117118119120121122
return TimeInterval.NULL; } return VALUES.newTimeInterval( start.isNull() ? 0 : start.date().getMillis(), end.isNull() ? 0 : end.date().getMillis()); } @Override public Time contractExpire() {
125126127128129130131132133134135
if (event.isNull()) { return Time.NULL; } return VALUES.newTime(event.date().getMillis()); } @Override public Month contractDeliveryMonth() {
138139140141142143144145146147148
if (event.isNull()) { return Month.NULL_MONTH; } switch (event.date().getMonthOfYear()) { case 1: return Month.JANUARY; case 2: return Month.FEBRUARY;