public class DateValidator extends Object
| Modifier | Constructor | Description |
|---|---|---|
protected |
DateValidator(Calendar calendar) |
Used in tests to inject a custom
Calendar to stabilize dates. |
| Modifier and Type | Method | Description |
|---|---|---|
static boolean |
isValid(String month,
String year) |
Helper for determining whether a date is a valid credit card expiry date.
|
protected boolean |
isValidHelper(String monthString,
String yearString) |
Copyright © 2018 The Apache Software Foundation. All rights reserved.