Package io.jans.as.server.ws.rs.stat
Class Months
- java.lang.Object
-
- io.jans.as.server.ws.rs.stat.Months
-
public class Months extends java.lang.Object
- Author:
- Yuriy Zabrovarnyy
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
checkMonthFormat(java.lang.String month)
static java.util.Set<java.lang.String>
getMonths(java.lang.String months)
static java.util.Set<java.lang.String>
getMonths(java.lang.String startMonth, java.lang.String endMonth)
static java.util.Set<java.lang.String>
getMonths(java.lang.String months, java.lang.String startMonth, java.lang.String endMonth)
static boolean
isValid(java.lang.String months, java.lang.String startMonth, java.lang.String endMonth)
static java.time.LocalDate
parse(java.lang.String month)
-
-
-
Method Detail
-
isValid
public static boolean isValid(java.lang.String months, java.lang.String startMonth, java.lang.String endMonth)
-
getMonths
public static java.util.Set<java.lang.String> getMonths(java.lang.String months, java.lang.String startMonth, java.lang.String endMonth)
-
parse
public static java.time.LocalDate parse(java.lang.String month)
-
getMonths
public static java.util.Set<java.lang.String> getMonths(java.lang.String startMonth, java.lang.String endMonth)
-
checkMonthFormat
public static boolean checkMonthFormat(java.lang.String month)
-
getMonths
public static java.util.Set<java.lang.String> getMonths(java.lang.String months)
-
-