tibetan_calendar 0.0.3 tibetan_calendar: ^0.0.3 copied to clipboard
Tibetan Calender package provide easy way to get tibetan date and year base on western date. For more you can refer documentaion
tibetan_calendar #
Tibetan Calendar
Getting Started #
Lunar calendar library for Dart Native. Computing lunar calendar by timezone.
Tibetan Calendar | Western Calendar |
Using #
Import the library:
import 'package:tibetan_calendar/tibetan_calendar.dart';
Convert calendar from from western calendar to tibetan calendar.
For example:
var now = DateTime.now();
tibDate = TibetanCalendar.getTibetanDate(DateTime(now.year, now.month, now.day));
print(tibDate.year); // 2148
print(tibDate.month); // 4
print(tibDate.day); // 25