iceformat
iceformat
springmvc默认使用时间戳作为Date的显示格式,但是通常希望Date显示为yyyy-MM-dd HH:mm:ss格式. 此时可以使用如下注解: @JsonSerialize(using=IceDateFormat.class) @JsonSerialize(using=IceNumFormat.class)
License |
License |
---|---|
Categories |
CategoriesORM Data |
GroupId | GroupIdcom.icexxx |
ArtifactId | ArtifactIdiceformat |
Last Version | Last Version1.0 |
Release Date | Release Date |
Type | Typejar |
Description |
Descriptioniceformat
iceformat
|
Project URL |
Project URL |
Source Code Management |
Source Code Management |
Filename | Size |
---|---|
iceformat-1.0.pom | |
iceformat-1.0.jar | 7 KB |
iceformat-1.0-sources.jar | 5 KB |
iceformat-1.0-javadoc.jar | 48 KB |
Browse |
<!-- https://jarcasting.com/artifacts/com.icexxx/iceformat/ -->
<dependency>
<groupId>com.icexxx</groupId>
<artifactId>iceformat</artifactId>
<version>1.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.icexxx/iceformat/
implementation 'com.icexxx:iceformat:1.0'
// https://jarcasting.com/artifacts/com.icexxx/iceformat/
implementation ("com.icexxx:iceformat:1.0")
'com.icexxx:iceformat:jar:1.0'
<dependency org="com.icexxx" name="iceformat" rev="1.0">
<artifact name="iceformat" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.icexxx', module='iceformat', version='1.0')
)
libraryDependencies += "com.icexxx" % "iceformat" % "1.0"
[com.icexxx/iceformat "1.0"]
Group / Artifact | Type | Version |
---|---|---|
com.fasterxml.jackson.core : jackson-databind | jar | 2.9.4 |
Group / Artifact | Type | Version |
---|---|---|
junit : junit | jar | 4.12 |
iceformat
springmvc默认使用时间戳作为Date的显示格式,但是通常希望Date显示为yyyy-MM-dd HH:mm:ss格式. 此时可以使用如下注解: @JsonSerialize(using=IceDateFormat.class) @JsonSerialize(using=IceNumFormat.class)