Builder

class Builder(type: DateTimePicker.Type = Type.TimeType)

Builder class for creating a DateTimePicker

Parameters

type

the Type of DateTimePicker to build.

Constructors

Link copied to clipboard
constructor(type: DateTimePicker.Type = Type.TimeType)

Functions

Link copied to clipboard
Link copied to clipboard

Sets the text to show in the DateTimePicker button to cancel picking a date

Link copied to clipboard

Sets the text to show in the DateTimePicker button to confirm picking a date

Link copied to clipboard

Sets the KalugaLocale for which a Date is selected

Link copied to clipboard

Sets the message displayed in the DateTimePicker

Link copied to clipboard

Sets the KalugaDate that the date-time picker will use as a base for picking the date. This will determine the initial time/day to be selected in the picker, depending on the type. Upon completion, a copy of this date modified with the selected date or time will be provided, keeping timezone and components not selected the same.