public class DatePattern extends Object
Constructor and Description |
---|
DatePattern(String token)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
static boolean |
isValid(String pattern)
Returns whether or not the given string is a valid date pattern.
|
String |
toString() |
public DatePattern(String token)
token
- the tokenpublic static boolean isValid(String pattern)
pattern
- the target stringtrue
if it is valid, otherwise false
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.