Months

public final class Months

Utilities for working with calendar months.

Functions

Link copied to clipboard
public static SerializableConverter<Month, Month> converter()
Obtains the instance of Java Time converter.
Link copied to clipboard
public static Month of(int month)
Creates an instance by the passed number.
public static Month of(LocalDate date)
Obtains the month of the passed date.
public static Month of(Month month)
Converts the passed Java Time value.
Link copied to clipboard
public static Month parse(String str)
Parses a month from an internal representation string.
Link copied to clipboard
public static Month toJavaTime(Month value)
Converts the passed instance to the Java Time value.
Link copied to clipboard
public static String toString(Month value)
Obtains string representation of the passed month.