JalaliExt extension
- on
Properties
- millisecondsSinceEpoch → int
-
Available on Jalali, provided by the JalaliExt extension
Convert Jalali to milliseconds since epochno setter
Methods
-
addHours(
int hours) → Jalali - 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 - copyWith method to allow partial updates to a Jalali instance
-
datePickerMediumDate(
) → String - formats
-
formatCompactDate(
) → String -
formatFullDate(
) → String -
formatMediumDate(
) → String -
formatMonthYear(
) → String -
formatShortDate(
) → String -
formatShortMonthDay(
) → String -
formatYear(
) → String -
isAfter(
Jalali date) → bool -
isAtSameMomentAs(
Jalali other) → bool -
isBefore(
Jalali date) → bool -
toJalaliDateTime(
) → String
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