TimePickerMode

时间选择器模式 控制 TimePicker 显示的列组合,时间值均以秒为单位(0-86399)

Entries

Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
val getDate: (List<String>) -> Int

获取时间对应的总秒数,参数为时间字符串列表

Link copied to clipboard
val getDateList: (Int) -> List<Int>

获取可选时间范围内的时间列表,参数为总秒数

Link copied to clipboard

获取可选项列表,参数依次为:小时集合、分钟集合、秒钟集合

Link copied to clipboard

获取选中项,参数依次为:选中小时、选中分钟、选中秒钟

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.