MMDate
English Date မှ မြန်မာ၇က်စွဲသို့ ပြောင်းလဲပေးနိင်သော lib ဖြစ်ပါသည်...။ Eng Date များအား ပြောင်းလဲတွက်သောအခါ..JDN date သတ်မှတ်ချက်အပေါ်အခြေခံ ထားပါသည်.. ၊ ထိုနောက် မြန်မာ ပြက္ခဒိန် သို့ပြောင်းလဲတွက်ချက်သောအခါ တွက်ချက်မှုအားလုံးက မြန်မာစံတော်ချိန် (Myanmar Standard Time UTC+06:30 ) ပေါ်မှာ အခြေခံထားပြီး အဲဒါက လောင်ဂျီကျု ၉၇° ၃၀' ပေါ်မှာ အခြေခံပါတယ်။
Install / Use
/learn @ko-htut/MMDateREADME
MMDate library for Dart developers.
It is a lib that can convert English Date into Myanmar Date. When conversion dates are calculated, based on the date of JDN date ..
Created from templates made available by Stagehand under a BSD-style license.
Usage
A simple usage example:
import 'package:mmdate/mmdate.dart';
main() {
MMDate mmdate = new MMDate();
}
get MM-date
Sting mmdate = mmdate.now();
// နမှုနာ " ၁၃၈၁ : ပြာသို : လဆုတ် ၄ ရက် : တနင်္လာ "
get year
String mmyear = mmdate.year();
// နမှုနာ "၁၃၈၁"
get month
String mmonth = mmdate.month();
// နမှုနာ တော်သလင်းလ
get day
String mmday = mmdate.day();
//နမှုနာ သောကြာ
get nextday
String mmnextday = mmdate.nextday(10);
//နမှုနာ ယနေ့၇က်မှစပြီးနောက်ထပ် ၁၀ ၇က်မြောက်နေ့ ၇က်စွဲအား တွက်ချက်ပါသည် ။
Features and bugs
Please file feature requests and bugs at the issue tracker.
Algorithm, Program and Calculation of Myanmar Date
Credit..
yan9a :https://yan9a.github.io/mcal
Website 1 :http://cool-emerald.blogspot.com/2013/06/algorithm-program-and-calculation-of.html
