moment-jdateformatparser

WebJar for moment-jdateformatparser

Лицензия

Лицензия

MIT
Категории

Категории

ORM Данные
Группа

Группа

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

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

moment-jdateformatparser
Последняя версия

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

1.2.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

moment-jdateformatparser
WebJar for moment-jdateformatparser
Ссылка на сайт

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

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

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

https://github.com/MadMG/moment-jdateformatparser

Скачать moment-jdateformatparser

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

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

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

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

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

moment-jdateformatparser

NPM Build Status

This moment.js plugin translates the java.text.SimpleDateFormat date format to the moment.js date format.

We took the structure graciously from https://github.com/niwibe/moment-tokens (thanks a lot!).

Usage

  • formatWithJDF: Formats the moment with a java date format.

    e.g.: moment("2013-12-24 14:30").formatWithJDF("dd.MM.yyyy") will return 24.12.2013

  • toMomentFormatString: Translates the java date format to a momentjs format.

    e.g.: moment().toMomentFormatString("dd.MM.yyyy") will return DD.MM.YYYY

  • toJDFString: Translates the momentjs format to a java date format.

    e.g.: moment().toJDFString("DD.MM.YYYY") will return dd.MM.yyyy

Installation

NPM

Installation is possible with npm install moment-jdateformatparser

Bower

Installation is possible with bower install moment-jdateformatparser

License

moment-jdateparser is freely distributable under the terms of the MIT license.

Copyright (c) 2013 Heinz Romirer, Martin Groller

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

Версия
1.2.1
1.0.0