1 package org.collectionspace.services.structureddate;
4 * A deferred date that represents the end of a month. The end day
5 * can not be determined until the year and era of the month are known. Once the
6 * year and era are known, resolveDate() may be called to calculate the day.
8 public class DeferredMonthEndDate extends DeferredDate {
11 public void resolveDate() {
15 era = Date.DEFAULT_ERA;
18 int day = DateUtils.getDaysInMonth(getMonth(), getYear(), era);