/** * Returns the start date for the given year, inclusive. * * @param calendar the calendar to base the date on. * @param year the year. * @return the start date. */ public static Date getStartDate( Calendar calendar, Integer year ) { return calendar.isoStartOfYear( year ).toJdkDate(); }