UIng::DateTimePicker
Inherits UIng::Control < UIng::BlockConstructor < Reference < Object
A native picker for local calendar and clock fields.
Time values are treated as wall-clock values: the setter copies their
displayed date and time fields without converting them to another time
zone. Values returned by the getter and callbacks use
Time::Location.local. The original instant, offset, and location therefore
do not round-trip when they differ from the local time zone.
Constructors
new(*args, &)
Sourcenew(*args, **kwargs, &)
Sourcenew(type : Type | Symbol = Type::DateTime)
SourceInstance methods
on_changed(callback : Nil) : Nil
Sourcetime=(time : Time) : Nil
Sets the displayed wall-clock fields from time without time-zone conversion.
to_unsafe
Source