myanmar_calendar library

Classes

HinduCalculationEngine
Main calculation engine for Hindu calendar
HinduCalendarWidget
A widget that displays Hindu calendar information
HinduCalendarWidgetMyanmar
A widget that displays Hindu calendar information in Myanmar language
MyanmarCalendarConverter
High-level converter class for Myanmar calendar conversions
MyanmarCalendarCore
Core Myanmar calendar conversion and calculation functions
MyanmarCalendarWidget
MyanmarDate
Represents a Myanmar calendar date
PancangaDate
Represents a complete Hindu calendar date

Extensions

DoubleExtension on double
Extension to add frac method to double

Functions

asind(double value) double
Calculates arcsine in degrees
atan2d(double y, double x) double
Calculates arctangent2 in degrees
atand(double value) double
Calculates arctangent in degrees
cosd(double degrees) double
Calculates cosine in degrees
frac(double number) double
Returns the fractional part of a number
getDayMuhurtaName(int muhurta) String
Gets the name of the day muhurta (1-15)
getKaranaName(int karana) String
Gets the name of the karana
getMonthName(int month) String
Name calculation functions for Hindu calendar
getNakshatraName(int nakshatra) String
Gets the name of the nakshatra (lunar mansion)
getNightMuhurtaName(int muhurta) String
Gets the name of the night muhurta (1-15)
getPakshaName(bool isShukla) String
Gets the name of the paksha (lunar fortnight)
getRituName(int month) String
Gets the name of the ritu (season)
getTithiName(int tithi) String
Gets the name of the tithi (lunar day)
getWeekdayName(int weekday) String
Gets the name of the weekday
getYogaName(int yoga) String
Gets the name of the yoga
normalizeAngle(double angle) double
Normalizes angle to be within 0-360 degrees
sind(double degrees) double
Calculates sine in degrees
tand(double degrees) double
Calculates tangent in degrees
toDegrees(double radians) double
Converts radians to degrees
toRadians(double degrees) double
Converts degrees to radians
trunc(double number) int
Returns the truncated integer part of a number