• How to customize the Jackson ObjectMapper used by Hibernate-Types

    The easiest way to achieve this goal is to set the configuration property in the hibernate.properties filehibernate.types.jackson.object.mapper=com.vl...

    使用LocalDate获取本周周一和周日

    LocalDate today = LocalDate.now(); LocalDate monday = today.with(TemporalAdjusters.previousOrSame( DayOfWeek.MONDAY)); LocalDate sunday = today...