/** * 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 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 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 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 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); }