world-calendars

WebJar for world-calendars

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

world-calendars
Последняя версия

Последняя версия

1.0.3
Дата

Дата

Тип

Тип

jar
Описание

Описание

world-calendars
WebJar for world-calendars
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/alexcjohnson/world-calendars

Скачать world-calendars

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/world-calendars/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>world-calendars</artifactId>
    <version>1.0.3</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/world-calendars/
implementation 'org.webjars.npm:world-calendars:1.0.3'
// https://jarcasting.com/artifacts/org.webjars.npm/world-calendars/
implementation ("org.webjars.npm:world-calendars:1.0.3")
'org.webjars.npm:world-calendars:jar:1.0.3'
<dependency org="org.webjars.npm" name="world-calendars" rev="1.0.3">
  <artifact name="world-calendars" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='world-calendars', version='1.0.3')
)
libraryDependencies += "org.webjars.npm" % "world-calendars" % "1.0.3"
[org.webjars.npm/world-calendars "1.0.3"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.webjars.npm : object-assign jar [4.1.0,5)

Модули Проекта

Данный проект не имеет модулей.

world-calendars

Node module for converting between various calendars

This project takes kbwood/calendars and transforms them from a jQuery plugin to a node module. Many thanks to Keith Wood and all of the contributors to the original project! We support all the calendars in that project plus the Chinese lunar calendar.

kbwood/calendars was originally pulled at version 2.0.2 in October 2016.

The initial implementation converts all built-in calendars and localizations, including the plus module, but not the validation or picker functionality. Also includes basic test functionality.

Typical usage for converting from one date system to another goes through Julian days:

var calendars = require('world-calendars');

var gregorian = calendars.instance();
var nepali = calendars.instance('nepali');

// gives nepali date 2073-07-15
var nepaliHalloween = nepali.fromJD(gregorian.newDate(2016, 10, 31).toJD());

Версии библиотеки

Версия
1.0.3