Skip to content

Commit d12fc05

Browse files
committed
changed the isValideDate method access to private
1 parent 7fd61d2 commit d12fc05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/ipgeolocation/api/AstronomyParams.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public AstronomyParams build() {
118118
}
119119
}
120120
// Method to validate date format
121-
public static boolean isValidDateFormat(String date) {
121+
private static boolean isValidDateFormat(String date) {
122122
String regex = "\\d{4}-\\d{2}-\\d{2}";
123123
Pattern pattern = Pattern.compile(regex);
124124
Matcher matcher = pattern.matcher(date);

0 commit comments

Comments
 (0)