JalaliExt extension

on

Properties

millisecondsSinceEpoch int

Available on Jalali, provided by the JalaliExt extension

Convert Jalali to milliseconds since epoch
no setter

Methods

addHours(int hours) Jalali

Available on Jalali, provided by the JalaliExt extension

Adds the specified number of hours to the current Jalali date.
copyWith({int? year, int? month, int? day, int? hour, int? minute, int? second, int? millisecond}) Jalali

Available on Jalali, provided by the JalaliExt extension

copyWith method to allow partial updates to a Jalali instance
datePickerMediumDate() String

Available on Jalali, provided by the JalaliExt extension

formats
formatCompactDate() String

Available on Jalali, provided by the JalaliExt extension

formatFullDate() String

Available on Jalali, provided by the JalaliExt extension

formatMediumDate() String

Available on Jalali, provided by the JalaliExt extension

formatMonthYear() String

Available on Jalali, provided by the JalaliExt extension

formatShortDate() String

Available on Jalali, provided by the JalaliExt extension

formatShortMonthDay() String

Available on Jalali, provided by the JalaliExt extension

formatYear() String

Available on Jalali, provided by the JalaliExt extension

isAfter(Jalali date) bool

Available on Jalali, provided by the JalaliExt extension

isAtSameMomentAs(Jalali other) bool

Available on Jalali, provided by the JalaliExt extension

isBefore(Jalali date) bool

Available on Jalali, provided by the JalaliExt extension

toJalaliDateTime() String

Available on Jalali, provided by the JalaliExt extension

Static Properties

narrowWeekdays List<String>

Available on Jalali, provided by the JalaliExt extension

getter/setter pair
shortDayName List<String>

Available on Jalali, provided by the JalaliExt extension

getter/setter pair

Constants

aban → const int
azar → const int
bahman → const int
daysPerWeek → const int
dey → const int
esfand → const int
farvardin → const int
friday → const int
khordad → const int
mehr → const int
monday → const int
months → const List<String>
monthsPerYear → const int
mordad → const int
ordibehesht → const int
saturday → const int
shahrivar → const int
sunday → const int
thursday → const int
tir → const int
tuesday → const int
wednesday → const int