Module org.apache.wicket.extensions
Class ZonedToLocalDateTimeModel
java.lang.Object
org.apache.wicket.extensions.markup.html.form.datetime.ZonedToLocalDateTimeModel
- All Implemented Interfaces:
Serializable,IDetachable,IModel<LocalDateTime>,org.apache.wicket.util.io.IClusterable
- Author:
- svenmeier
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddetach()protected ZoneIdWhat is theZoneIdof the client.protected ZoneIdWhat is theZoneIdof createdZonedDateTimeobjects.voidsetObject(LocalDateTime dateTime)
-
Constructor Details
-
ZonedToLocalDateTimeModel
Map the givenZonedDateTimeto aLocalDateTimein the client's time zone.- Parameters:
model- zoned date time
-
-
Method Details
-
detach
- Specified by:
detachin interfaceIDetachable- Specified by:
detachin interfaceIModel<LocalDateTime>
-
getClientTimeZone
What is theZoneIdof the client. -
getTargetTimeZone
What is theZoneIdof createdZonedDateTimeobjects. -
getObject
- Specified by:
getObjectin interfaceIModel<LocalDateTime>
-
setObject
- Specified by:
setObjectin interfaceIModel<LocalDateTime>
-