MyanmarCalendar class

A class for working with the Myanmar calendar system.

Provides functionality for converting Gregorian dates into the Myanmar calendar format with language-specific support.

Constructors

MyanmarCalendar()
Creates a new instance of MyanmarCalendar.

Properties

hashCode int
The hash code for this object.
no setterinherited
languageDictionary Map<String, String>
A dictionary containing language-specific strings for the Myanmar calendar.
getter/setter pair
mcNo int
The Myanmar calendar number (internal usage).
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkMyanmarYear(int myanmarYear) Map<String, dynamic>
Verifies and checks the details of a given Myanmar year.
checkWatat(int myanmarYear) Map<String, dynamic>
Verifies whether a given Myanmar year is a Watat year.
getCalendar({int languageCode = 1}) String
Returns the current Myanmar date as a formatted string.
getMyanmarDateForLanguage(String lang) String
Returns the Myanmar date string for a specific language.
getMyanmarDateString(int languageCode) String
Returns the Myanmar date string for a given language code.
gregorianToJulianDay(int year, int month, int day) double
Converts a Gregorian date to its corresponding Julian Day.
julianDayToMyanmarDate(double julianDay) Map<String, dynamic>
Converts a Julian Day to its corresponding Myanmar date.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
numberToString(num n) String
Converts a number into its corresponding language-specific string.
toString() String
A string representation of this object.
inherited

Operators

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