public class CustomDate extends Date
Modifier and Type | Method and Description |
---|---|
static CustomDate |
convertToCustomDate(Date input)
Parse the input date to fetch only date part and return the corresponding CustomDate instance
|
static CustomDate |
parseInput(String input)
Supports parsing of date string in format
ISO Local Date eg '2011-12-03'
ISO Date with offset eg '2011-12-03+01:00' or "2002-09-24Z"
|
String |
toString() |
public static CustomDate parseInput(String input)
input
- string with date valueCustomDate
after parsing input stringpublic static CustomDate convertToCustomDate(Date input)
input
- Instance of java.util.dateCopyright © 1982–2023 Adobe Systems Incorporated. All rights reserved.