public class DateTimePattern extends Object
| Constructor and Description |
|---|
DateTimePattern() |
| Modifier and Type | Method and Description |
|---|---|
static Set<String> |
datePatternReplace(String value)
Replace the value with date pattern string.
|
static boolean |
isDate(String value)
Whether the given string value is a date or not.
|
static boolean |
isTime(String value)
Check if the value passed is a time or not.
|
static Set<String> |
timePatternReplace(String value)
Replace the value with time pattern string.
|
public static boolean isDate(String value)
value - public static boolean isTime(String value)
value - public static Set<String> datePatternReplace(String value)
value - Copyright © 2021 CDAP Licensed under the Apache License, Version 2.0.