MyanmarDate class

Represents a Myanmar calendar date

Constructors

MyanmarDate({required int year, required int month, required int day, int dayType = 0, bool isIntercalaryMonth = false})
const

Properties

day int
Myanmar day (1-30)
final
dayType int
Day type (0=regular day, 1=waxing moon, 2=full moon, 3=waning moon)
final
formattedDay String
Get the formatted day with moon phase
no setter
fullDateString String
Get full Myanmar date string
no setter
hashCode int
The hash code for this object.
no setteroverride
isIntercalaryMonth bool
Whether this is in an intercalary month
final
month int
Myanmar month (0-14, where 13-14 are intercalary months)
final
monthName String
Get the month name in Myanmar
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
year int
Myanmar year
final

Methods

copyWith({int? year, int? month, int? day, int? dayType, bool? isIntercalaryMonth}) MyanmarDate
Create a copy with optional parameter overrides
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Constants

dayNames → const List<String>
Day names in Myanmar
monthNames → const List<String>
Myanmar month names