PersianDate class Null safety

An instant in Persian calendar, such as Farvardin 11, 1365.

Constructors

PersianDate(int year, int month, int day)
Creates a PersianDate from the Persian year, month and day. [...]
PersianDate.fromDateTime(DateTime date)
Creates a PersianDate from the equivalent DateTime.
factory
PersianDate.fromMicrosecondsSinceEpoch(int microsecondsSinceEpoch, {bool isUtc = false})
Constructs a new PersianDate instance with the given microsecondsSinceEpoch. [...]
factory
PersianDate.fromMillisecondsSinceEpoch(int millisecondsSinceEpoch, {bool isUtc = false})
Constructs a new PersianDate instance with the given millisecondsSinceEpoch. [...]
factory

Properties

day int
final
hashCode int
The hash code for this object. [...]
read-only, inherited
month int
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
year int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited