Uses of Class
javax.time.calendar.MonthDay
Packages that use MonthDay
Package
Description
Provides classes to manage the human time scale including date, time,
date-time and time-zone representations.
-
Uses of MonthDay in javax.time.calendar
Fields in javax.time.calendar with type parameters of type MonthDayModifier and TypeFieldDescriptionprivate static final CalendricalRule
<MonthDay> MonthDay.Rule.INSTANCE
Methods in javax.time.calendar that return MonthDayModifier and TypeMethodDescriptionprotected MonthDay
MonthDay.Rule.derive
(Calendrical calendrical) static MonthDay
MonthDay.now()
Obtains the current month-day from the system clock in the default time-zone.static MonthDay
Obtains the current month-day from the specified clock.static MonthDay
MonthDay.of
(int monthOfYear, int dayOfMonth) Obtains an instance ofMonthDay
.static MonthDay
MonthDay.of
(Calendrical calendrical) Obtains an instance ofMonthDay
from a Calendrical.static MonthDay
MonthDay.of
(MonthOfYear monthOfYear, int dayOfMonth) Obtains an instance ofMonthDay
.static MonthDay
Obtains an instance ofMonthDay
from a text string such as--12-03
.static MonthDay
MonthDay.parse
(String text, DateTimeFormatter formatter) Obtains an instance ofMonthDay
from a text string using a specific formatter.MonthDay.rollDayOfMonth
(int days) Rolls the day-of-month, adding the specified number of days to a copy of thisMonthDay
.MonthDay.rollMonthOfYear
(int months) Rolls the month-of-year, adding the specified number of months to a copy of thisMonthDay
.MonthDay.with
(MonthOfYear monthOfYear) Returns a copy of thisMonthDay
with the month-of-year altered.private MonthDay
MonthDay.with
(MonthOfYear newMonth, int newDay) Returns a copy of this month-day with the new month and day, checking to see if a new object is in fact required.MonthDay.withDayOfMonth
(int dayOfMonth) Returns a copy of thisMonthDay
with the day-of-month altered.MonthDay.withMonthOfYear
(int monthOfYear) Returns a copy of thisMonthDay
with the month-of-year altered.Methods in javax.time.calendar that return types with arguments of type MonthDayModifier and TypeMethodDescriptionstatic CalendricalRule
<MonthDay> MonthDay.rule()
Gets the rule for the month-day.Methods in javax.time.calendar with parameters of type MonthDayModifier and TypeMethodDescriptionYear.atMonthDay
(MonthDay monthDay) Returns a date formed from this year at the specified month-day.int
Compares this month-day to another month-day.boolean
Is this month-day after the specified month-day.boolean
Is this month-day before the specified month-day.boolean
Year.isValidMonthDay
(MonthDay monthDay) Checks if the month-day is valid for this year.