Last active
August 21, 2022 10:35
-
-
Save bhimsur/65b30f8c2a6b7a0b767b67dac7feffe4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.lang.annotation.Retention; | |
import java.lang.annotation.RetentionPolicy; | |
import com.fasterxml.jackson.annotation.JacksonAnnotationsInside; | |
import com.fasterxml.jackson.annotation.JsonFormat; | |
@JacksonAnnotationsInside | |
@Retention(RetentionPolicy.RUNTIME) | |
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss") | |
public @interface MyCustomDate {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment