Search
Calendar.getExactDateAt Method (Int32, Int32)
See Also
 






Returns the date located at the specified coordinates.

Namespace: com.mindfusion.scheduling
Package: com.mindfusion.scheduling

 Syntax

Java  Copy Code

public DateTime getExactDateAt (
    int x,
    int y
)

 Parameters

x

The x-coordinate of the position at which to look for a date.

y

The y-coordinate of the position at which to look for a date.

 Return Value

A DateTime instance indicating which date is displayed at the specified position. If there is no date at the specified position, the return value is DateTime.MinValue.

 Remarks

The returned value represents the exact date located at the specified position in contrast with getDateAt, which returns the start date of the cell, located at the specified position. This method works only in a CalendarView.Timetable view.

 See Also