public static final class DateControl.CreateEntryParameter extends Object
Constructor and Description |
---|
CreateEntryParameter(DateControl control,
Calendar calendar,
ZonedDateTime time)
Constructs a new parameter object.
|
Modifier and Type | Method and Description |
---|---|
DateControl |
getDateControl()
The date control where the user performed the double click.
|
Calendar |
getDefaultCalendar()
Returns the default calendar.
|
ZonedDateTime |
getZonedDateTime()
The time selected by the user.
|
String |
toString() |
public CreateEntryParameter(DateControl control, Calendar calendar, ZonedDateTime time)
control
- the control where the user / the application wants to
create a new entrycalendar
- the default calendartime
- the time selected by the user in the date controlpublic Calendar getDefaultCalendar()
Entry.setCalendar(Calendar)
or the
can choose any other calendar.public ZonedDateTime getZonedDateTime()
public DateControl getDateControl()
Copyright © 2017 Dirk Lemmermann Software & Consulting. All rights reserved.