public class DateHelper extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DateHelper.SimpleAdapter
Simple Adapter utility class.
|
static class |
DateHelper.SimpleDateDeserializer
A class to handle deserialization of date strings to LocalDate objects.
|
static class |
DateHelper.SimpleDateSerializer
A class to handle serialization of LocalDate objects to date strings.
|
| Modifier | Constructor and Description |
|---|---|
protected |
DateHelper() |
| Modifier and Type | Method and Description |
|---|---|
static LocalDate |
fromSimpleDate(String date)
Parse a simple date string to a LocalDate object.
|
static List<Map<String,String>> |
toArrayOfMapOfSimpleDate(List<Map<String,LocalDate>> values)
Convert a List of Map of LocalDate objects to strings.
|
static List<String> |
toSimpleDate(List<LocalDate> values)
Convert a List of LocalDate objects to strings.
|
static String |
toSimpleDate(LocalDate value)
Convert a LocalDate object to a string.
|
static Map<String,String> |
toSimpleDate(Map<String,LocalDate> values)
Convert a Map of LocalDate objects to strings.
|
public static LocalDate fromSimpleDate(String date)
date - The date string.public static String toSimpleDate(LocalDate value)
value - The LocalDate object to convert.public static List<String> toSimpleDate(List<LocalDate> values)
values - The List of LocalDate objects to convert.public static Map<String,String> toSimpleDate(Map<String,LocalDate> values)
values - The Map of LocalDate objects to convert.Copyright © 2025. All rights reserved.