Description: Modern Myanmar Calendrical Calculations
MIT License (https://opensource.org/licenses/MIT)
Copyright (c) 2018 Yan Naing Aye
See the detail explanations about Myanmar Calendar at
Getting the source from GitHub
To get the source from github, you can visit to
git clone https://github.com/yan9a/mcal.git cd mcal
git checkout 1.0
Usage example to calculate Myanmar calendar date
var mdt=new ceMmDateTime(); var str=mdt.ToMString() //get current date time string in Myanmar calendar
C++ class for Myanmar Calendrical Calculations is in cpp/ folder.
It consists of the following files
Example C++ program can be seen at
For Windows, there is a Visual Studio 2017 project in cedate_visualstudio2017 folder. Alternatively, if you want to build the program using MinGW and CMake, you can build it as follows.
cd cpp/eg/cedate/ mkdir build cd build cmake .. -G "MinGW Makefiles" mingw32-make.exe all .\cedate
For Linux, you need to install the necessary tools and then you can clone from its git repository as follows.
$ sudo apt update $ sudo apt install build-essential git cmake $ git clone https://github.com/yan9a/mcal.git $ cd mcal
Thereafter, you can navigate to the example folder, build it using cmake, and run it as follows.
$ cd cpp/eg/cedate $ mkdir build $ cd build $ cmake .. $ make $ ./cedate