PersianDatePickerState

class PersianDatePickerState(isDisplayMonthNames: Boolean = true, date: PersianDateWrapper = PersianDateWrapper(), selectedYear: Int = date.value.shYear, selectedMonth: Int = date.value.shMonth, selectedDay: Int = date.value.shDay, minYear: Int = 1300, maxYear: Int = date.value.shYear, maxMonth: Int = 12, maxDay: Int = 31)

Constructors

Link copied to clipboard
constructor(isDisplayMonthNames: Boolean = true, date: PersianDateWrapper = PersianDateWrapper(), selectedYear: Int = date.value.shYear, selectedMonth: Int = date.value.shMonth, selectedDay: Int = date.value.shDay, minYear: Int = 1300, maxYear: Int = date.value.shYear, maxMonth: Int = 12, maxDay: Int = 31)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val dayOfWeek: Int
Link copied to clipboard
Link copied to clipboard
val gregorianDay: Int
Link copied to clipboard
Link copied to clipboard
val gregorianYear: Int
Link copied to clipboard
var isDisplayMonthNames: Boolean
Link copied to clipboard
var maxDay: Int
Link copied to clipboard
var maxMonth: Int
Link copied to clipboard
var maxYear: Int
Link copied to clipboard
var minYear: Int
Link copied to clipboard
val persianDay: Int
Link copied to clipboard
Link copied to clipboard
val persianMonth: Int
Link copied to clipboard
val persianMonthName: String?
Link copied to clipboard
val persianYear: Int
Link copied to clipboard
var selectedDay: Int
Link copied to clipboard
var selectedMonth: Int
Link copied to clipboard
var selectedYear: Int
Link copied to clipboard
val timestamp: Long

Functions

Link copied to clipboard
fun initDate()
Link copied to clipboard
fun resetDate(onDateChanged: (year: Int, month: Int, day: Int) -> Unit? = null)
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
fun updateDate(date: Date)
fun updateDate(timestamp: Long)
fun updateDate(persianYear: Int? = null, persianMonth: Int? = null, persianDay: Int? = null)