tibetan_calendar 1.0.2 copy "tibetan_calendar: ^1.0.2" to clipboard
tibetan_calendar: ^1.0.2 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

Credit and resources #

This packages is inspired and taken help from below resources.

Tibetan Calendar

Demo #

Lunar calendar library for Dart Native. Computing lunar calendar by timezone. Download app from PlayStore.

Image Image
Tibetan Calendar Western Calendar

Add package #

tibetan_calendar: 1.0.0

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
yearAttribute = TibetanCalendar.getYearAttributes(tibetanYear:tibDate.year);
print(yearAttribute.animal); // Ox
print(yearAttribute.element); // Iron

If you have any questions, feedback or ideas, feel free to create an issue. If you enjoy this project, I'd appreciate your 🌟 on GitHub.

You can also buy me a cup of coffee #

2
likes
140
pub points
55%
popularity

Publisher

verified publisherkharagedition.com

Tibetan Calender package provide easy way to get tibetan date and year base on western date. For more you can refer documentaion

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

intl

More

Packages that depend on tibetan_calendar