Top Description Methods
com.calendarfx.view

public Interface ZonedDateTimeProvider

Known Direct Implementers
com.calendarfx.view.MonthView, com.calendarfx.view.AllDayView, com.calendarfx.view.DayViewBase
Imports
java.time.ZoneId, .ZonedDateTime

An interface that needs to be implemented by those date controls that want to support the creation of new entries with a double click. For this to work they need to supply the time at the given click location.

Method Summary

Modifier and TypeMethod and Description
public ZonedDateTime

Returns:

the time at the given location
getZonedDateTimeAt
(double
the x coordinate of the input event
x
,
double
the y coordinate of the input event
y
,
ZoneId
the zoneID for which we query the time
zoneId
)

Returns the time at the given location.

Method Detail

getZonedDateTimeAtback to summary
public ZonedDateTime getZonedDateTimeAt(double x, double y, ZoneId zoneId)

Returns the time at the given location.

Parameters
x:double

the x coordinate of the input event

y:double

the y coordinate of the input event

zoneId:ZoneId

the zoneID for which we query the time

Returns:ZonedDateTime

the time at the given location