@Test public void getDateRange_NO_DATE_RANGE() { XSettings xsettings = new XSettings(); xsettings.setRange(mock(XRange.class)); assertNull(utils.getDateRange(xsettings)); }
public XDateRange getDateRange(XSettings xsettings) { if (xsettings.getRange() instanceof XDateRange) { return (XDateRange)xsettings.getRange(); } return null; }
XDateRangeUtils { public XDateRange getDateRange(XSettings xsettings) { if (xsettings.getRange() instanceof XDateRange) { return (XDateRange)xsettings.getRange(); } return null; } }
XDateRangeUtils { public XDateRange getDateRange(XSettings xsettings) { if (xsettings.getRange() instanceof XDateRange) { return (XDateRange)xsettings.getRange(); } return null; }  }
XDateRangeUtils { public XDateRange getDateRange(XSettings xsettings) { if (xsettings.getRange() instanceof XDateRange) { return (XDateRange)xsettings.getRange(); } return null; }  XDateRange getDateRange(XSettings xsettings); LocalDate generateEndDate(LocalDate startDate, Period period); }
XDateRangeUtils { public XDateRange getDateRange(XSettings xsettings) { if (xsettings.getRange() instanceof XDateRange) { return (XDateRange)xsettings.getRange(); } return null; }  XDateRange getDateRange(XSettings xsettings); LocalDate generateEndDate(LocalDate startDate, Period period);  }