spring-boot-date-and-time-starter

Customizable output format for LocalDate and LocalDateTime in Spring Boot using Jackson Object Mapper builtin to spring-boot-starter-web

Лицензия

Лицензия

MIT
Категории

Категории

Spring Boot Контейнер Микросервисы Date and Time Универсальные библиотеки
Группа

Группа

com.github.timo-reymann
Идентификатор

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

spring-boot-date-and-time-starter
Последняя версия

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

2.7.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

spring-boot-date-and-time-starter
Customizable output format for LocalDate and LocalDateTime in Spring Boot using Jackson Object Mapper builtin to spring-boot-starter-web
Организация-разработчик

Организация-разработчик

Pivotal Software, Inc.
Система контроля версий

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

https://github.com/timo-reymann/spring-boot-date-and-time-starter/tree/master

Скачать spring-boot-date-and-time-starter

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

<!-- https://jarcasting.com/artifacts/com.github.timo-reymann/spring-boot-date-and-time-starter/ -->
<dependency>
    <groupId>com.github.timo-reymann</groupId>
    <artifactId>spring-boot-date-and-time-starter</artifactId>
    <version>2.7.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.timo-reymann/spring-boot-date-and-time-starter/
implementation 'com.github.timo-reymann:spring-boot-date-and-time-starter:2.7.0'
// https://jarcasting.com/artifacts/com.github.timo-reymann/spring-boot-date-and-time-starter/
implementation ("com.github.timo-reymann:spring-boot-date-and-time-starter:2.7.0")
'com.github.timo-reymann:spring-boot-date-and-time-starter:jar:2.7.0'
<dependency org="com.github.timo-reymann" name="spring-boot-date-and-time-starter" rev="2.7.0">
  <artifact name="spring-boot-date-and-time-starter" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.timo-reymann', module='spring-boot-date-and-time-starter', version='2.7.0')
)
libraryDependencies += "com.github.timo-reymann" % "spring-boot-date-and-time-starter" % "2.7.0"
[com.github.timo-reymann/spring-boot-date-and-time-starter "2.7.0"]

Зависимости

compile (6)

Идентификатор библиотеки Тип Версия
org.jetbrains.kotlin : kotlin-stdlib-jdk8 jar
org.jetbrains.kotlin : kotlin-reflect jar
org.springframework.boot : spring-boot-starter jar 2.3.1.RELEASE
org.springframework.boot : spring-boot-starter-web jar 2.3.1.RELEASE
org.springframework.boot : spring-boot-configuration-processor Необязательный jar 2.3.1.RELEASE
com.fasterxml.jackson.datatype : jackson-datatype-jsr310 jar

test (2)

Идентификатор библиотеки Тип Версия
org.jetbrains.kotlin : kotlin-test-junit jar
org.springframework.boot : spring-boot-starter-test jar 2.3.1.RELEASE

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

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

spring-boot-date-and-time-starter

Maven Central Version

What is this?

Customizable output format for LocalDate and LocalDateTime in Spring Boot using Jackson Object Mapper builtin to spring-boot-starter-web

Requirements

Spring Boot 2.2.x+

How to use?

Simply add it to your dependencies

<dependency>
    <groupId>com.github.timo-reymann</groupId>
    <artifactId>spring-boot-date-and-time-starter</artifactId>
    <version>2.7.0</version>
</dependency>

To customize the output format use your application yml:

jackson.date-and-time:
  date-format: 'dd.MM.YYYY'
  date-time-format: 'dd.MM.YYYY HH:mm:ss'

The default values are ....

... for LocalDate: yyyy-MM-dd

... for LocalDateTime: yyyy-MM-dd HH:mm:ss

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

Версия
2.7.0
2.6.2
2.6.0
2.2.1
2.2.0
2.1.0
2.0.0-pre
2.0.0
1.0.0