We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fd61d2 commit d12fc05Copy full SHA for d12fc05
src/main/java/io/ipgeolocation/api/AstronomyParams.java
@@ -118,7 +118,7 @@ public AstronomyParams build() {
118
}
119
120
// Method to validate date format
121
- public static boolean isValidDateFormat(String date) {
+ private static boolean isValidDateFormat(String date) {
122
String regex = "\\d{4}-\\d{2}-\\d{2}";
123
Pattern pattern = Pattern.compile(regex);
124
Matcher matcher = pattern.matcher(date);
0 commit comments