Convert Gregorian date to Kollavarsham date and vice versa
Project description
kollavarsham
Convert Gregorian date to Kollavarsham date and vice versa
Install
$ npm install --save kollavarsham
Usage
import { Kollavarsham } from 'kollavarsham';
const options = {
system: 'SuryaSiddhanta',
latitude: 10,
longitude: 76.2
};
const kollavarsham = new Kollavarsham(options);
const todayInMalayalamEra = kollavarsham.fromGregorianDate(new Date());
const today = kollavarsham.toGregorianDate(todayInMalayalamEra);
Documentation
Check out the Kollavarsham class within the API documentation as this is the entry point into the library.
CLI app
Check out the cli module (GitHub repo) for the kollavarsham
cross-platform CLI app
npm install -g kollavarsham-cli
kollavarsham --help
Release History
Check out the history at GitHub Releases
License
Copyright (c) 2014-2020 The Kollavarsham Team. Licensed under the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kollavarsham-1.6.0.tar.gz
(16.3 kB
view hashes)
Built Distribution
Close
Hashes for kollavarsham-1.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e89172d4229dca72938ee0360e056d61e08dc00e0af5af13335d17a663e5821 |
|
MD5 | 2e81f801bb3effa24a2c139e7b8f1fa4 |
|
BLAKE2b-256 | 1988ae63aca9ae929d629f10d5aced83b1701baa193172fcf1f81c06b0fc594a |