Package com.github.tadukoo.util.time
Class MonthUtil
java.lang.Object
com.github.tadukoo.util.time.MonthUtil
Month Util provides utilities for dealing with
Month
s.- Version:
- Alpha v.0.2.1
- Author:
- Logan Ferree (Tadukoo)
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MonthUtil
private MonthUtil()Can't create a MonthUtil
-
-
Method Details
-
parseFromString
Parses aMonth
from the given string. May return null if none match. -
asString
Converts the givenMonth
to its full, capitalized, US-Locale string. This is an easy way instead of having to callMonth.getDisplayName(TextStyle, Locale)
all the time. -
asStringArray
Creates a String array of theMonth
s.- Returns:
- A String array of the
Month
s
-