@Test public void testGetLastMillisecondWithCalendar() { Day d = new Day(4, 5, 2001); Calendar calendar = Calendar.getInstance( TimeZone.getTimeZone("Europe/London"), Locale.UK); assertEquals(989017199999L, d.getLastMillisecond(calendar)); try { d.getLastMillisecond(null); fail("NullPointerException should have been thrown"); } catch (NullPointerException e) { } }
@Override public long getLastMillisecond() { return this.lastMillisecond; }
Day extends RegularTimePeriod implements Serializable { @Override public long getLastMillisecond() { return this.lastMillisecond; } }
Day extends RegularTimePeriod implements Serializable { @Override public long getLastMillisecond() { return this.lastMillisecond; } Day();  Day(int day, int month, int year);  Day(SerialDate serialDate);  Day(Date time);  Day(Date time, TimeZone zone, Locale locale); }
Day extends RegularTimePeriod implements Serializable { @Override public long getLastMillisecond() { return this.lastMillisecond; } Day();  Day(int day, int month, int year);  Day(SerialDate serialDate);  Day(Date time);  Day(Date time, TimeZone zone, Locale locale); SerialDate getSerialDate(); int getYear(); int getMonth(); int getDayOfMonth(); @Override long getFirstMillisecond(); @Override long getLastMillisecond(); @Override void peg(Calendar calendar); @Override RegularTimePeriod previous(); @Override RegularTimePeriod next(); @Override long getSerialIndex(); @Override long getFirstMillisecond(Calendar calendar); @Override long getLastMillisecond(Calendar calendar); @Override boolean equals(Object obj); @Override int hashCode(); @Override int compareTo(TimePeriod o1); @Override String toString(); static Day parseDay(String s); }
Day extends RegularTimePeriod implements Serializable { @Override public long getLastMillisecond() { return this.lastMillisecond; } Day();  Day(int day, int month, int year);  Day(SerialDate serialDate);  Day(Date time);  Day(Date time, TimeZone zone, Locale locale); SerialDate getSerialDate(); int getYear(); int getMonth(); int getDayOfMonth(); @Override long getFirstMillisecond(); @Override long getLastMillisecond(); @Override void peg(Calendar calendar); @Override RegularTimePeriod previous(); @Override RegularTimePeriod next(); @Override long getSerialIndex(); @Override long getFirstMillisecond(Calendar calendar); @Override long getLastMillisecond(Calendar calendar); @Override boolean equals(Object obj); @Override int hashCode(); @Override int compareTo(TimePeriod o1); @Override String toString(); static Day parseDay(String s);  }