Git Product home page Git Product logo

ko-htut / mmdate Goto Github PK

View Code? Open in Web Editor NEW
4.0 0.0 0.0 95 KB

English Date မှ မြန်မာ၇က်စွဲသို့ ပြောင်းလဲပေးနိင်သော lib ဖြစ်ပါသည်...။ Eng Date များအား ပြောင်းလဲတွက်သောအခါ..JDN date သတ်မှတ်ချက်အပေါ်အခြေခံ ထားပါသည်.. ၊ ထိုနောက် မြန်မာ ပြက္ခဒိန် သို့ပြောင်းလဲတွက်ချက်သောအခါ တွက်ချက်မှုအားလုံးက မြန်မာစံတော်ချိန် (Myanmar Standard Time UTC+06:30 ) ပေါ်မှာ အခြေခံထားပြီး အဲဒါက လောင်ဂျီကျု ၉၇° ၃၀' ပေါ်မှာ အခြေခံပါတယ်။

License: BSD 3-Clause "New" or "Revised" License

Dart 95.58% Kotlin 0.97% Swift 3.15% Objective-C 0.30%

mmdate's Introduction

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 ..

Pub Version (including pre-releases)

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

mmdate's People

Stargazers

Soe Htet Linn avatar khuntunaye avatar Nay Lin Aung avatar Zaw Naing Oo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.