/** * Returns the Date at the given location. May be null if the * coordinates don't map to a day in the month which contains the * coordinates. Specifically: hitting leading/trailing dates returns null. * * Mapping pixel to calendar day. * * @param x the x position of the location in pixel * @param y the y position of the location in pixel * @return the day at the given location or null if the location * doesn't map to a day in the month which contains the coordinates. */ public Date getDayAtLocation(int x, int y) { return getUI().getDayAtLocation(x, y); }
/** * Returns the last date able to be displayed. For example, if the last * visible month was April the time returned would be April 30, 23:59:59. * * @return long The last displayed date. */ public Date getLastDisplayedDay() { return getUI().getLastDisplayedDay(); }
/** * Returns the String representation for each day of the * week. * * @return String representation for the days of the week, guaranteed to * never be null. * * @see #setDaysOfTheWeek(String[]) * @see MonthViewUI */ public String[] getDaysOfTheWeek() { if (_daysOfTheWeek != null) { String[] days = new String[DAYS_IN_WEEK]; System.arraycopy(_daysOfTheWeek, 0, days, 0, DAYS_IN_WEEK); return days; } return getUI().getDaysOfTheWeek(); }
/** * Returns the String representation for each day of the * week. * * @return String representation for the days of the week, guaranteed to * never be null. * * @see #setDaysOfTheWeek(String[]) * @see MonthViewUI */ public String[] getDaysOfTheWeek() { if (_daysOfTheWeek != null) { String[] days = new String[DAYS_IN_WEEK]; System.arraycopy(_daysOfTheWeek, 0, days, 0, DAYS_IN_WEEK); return days; } return getUI().getDaysOfTheWeek(); }
/** * Returns the last date able to be displayed. For example, if the last * visible month was April the time returned would be April 30, 23:59:59. * * @return long The last displayed date. */ public Date getLastDisplayedDay() { return getUI().getLastDisplayedDay(); }
/** * Returns the Date at the given location. May be null if the * coordinates don't map to a day in the month which contains the * coordinates. Specifically: hitting leading/trailing dates returns null. * * Mapping pixel to calendar day. * * @param x the x position of the location in pixel * @param y the y position of the location in pixel * @return the day at the given location or null if the location * doesn't map to a day in the month which contains the coordinates. */ public Date getDayAtLocation(int x, int y) { return getUI().getDayAtLocation(x, y); }
/** * Returns the String representation for each day of the * week. * * @return String representation for the days of the week, guaranteed to * never be null. * * @see #setDaysOfTheWeek(String[]) * @see MonthViewUI */ public String[] getDaysOfTheWeek() { if (_daysOfTheWeek != null) { String[] days = new String[DAYS_IN_WEEK]; System.arraycopy(_daysOfTheWeek, 0, days, 0, DAYS_IN_WEEK); return days; } return getUI().getDaysOfTheWeek(); }
/** * Returns the last date able to be displayed. For example, if the last * visible month was April the time returned would be April 30, 23:59:59. * * @return long The last displayed date. */ public Date getLastDisplayedDay() { return getUI().getLastDisplayedDay(); }
/** * Returns the Date at the given location. May be null if the * coordinates don't map to a day in the month which contains the * coordinates. Specifically: hitting leading/trailing dates returns null. * * Mapping pixel to calendar day. * * @param x the x position of the location in pixel * @param y the y position of the location in pixel * @return the day at the given location or null if the location * doesn't map to a day in the month which contains the coordinates. */ public Date getDayAtLocation(int x, int y) { return getUI().getDayAtLocation(x, y); }
/** * Returns the String representation for each day of the * week. * * @return String representation for the days of the week, guaranteed to * never be null. * * @see #setDaysOfTheWeek(String[]) * @see MonthViewUI */ public String[] getDaysOfTheWeek() { if (_daysOfTheWeek != null) { String[] days = new String[DAYS_IN_WEEK]; System.arraycopy(_daysOfTheWeek, 0, days, 0, DAYS_IN_WEEK); return days; } return getUI().getDaysOfTheWeek(); }
/** * Returns the last date able to be displayed. For example, if the last * visible month was April the time returned would be April 30, 23:59:59. * * @return long The last displayed date. */ public Date getLastDisplayedDay() { return getUI().getLastDisplayedDay(); }
/** * Returns the Date at the given location. May be null if the * coordinates don't map to a day in the month which contains the * coordinates. Specifically: hitting leading/trailing dates returns null. * * Mapping pixel to calendar day. * * @param x the x position of the location in pixel * @param y the y position of the location in pixel * @return the day at the given location or null if the location * doesn't map to a day in the month which contains the coordinates. */ public Date getDayAtLocation(int x, int y) { return getUI().getDayAtLocation(x, y); }
/** * Returns the String representation for each day of the * week. * * @return String representation for the days of the week, guaranteed to * never be null. * * @see #setDaysOfTheWeek(String[]) * @see MonthViewUI */ public String[] getDaysOfTheWeek() { if (_daysOfTheWeek != null) { String[] days = new String[DAYS_IN_WEEK]; System.arraycopy(_daysOfTheWeek, 0, days, 0, DAYS_IN_WEEK); return days; } return getUI().getDaysOfTheWeek(); }
/** * Returns the last date able to be displayed. For example, if the last * visible month was April the time returned would be April 30, 23:59:59. * * @return long The last displayed date. */ public Date getLastDisplayedDay() { return getUI().getLastDisplayedDay(); }
/** * Returns the Date at the given location. May be null if the * coordinates don't map to a day in the month which contains the * coordinates. Specifically: hitting leading/trailing dates returns null. * * Mapping pixel to calendar day. * * @param x the x position of the location in pixel * @param y the y position of the location in pixel * @return the day at the given location or null if the location * doesn't map to a day in the month which contains the coordinates. */ public Date getDayAtLocation(int x, int y) { return getUI().getDayAtLocation(x, y); }