java time MonthDay withMonth(intmonth)方法返回此MonthDay的副本,其中月份已更改。1语法publicMonthDaywithMonth(intmonth)2参数month:
java time MonthDay parse(CharSequencetext)方法从文本字符串(例如-10-15)获取MonthDay的实例。1语法publicstaticMonthDayparse(CharSeque
java time MonthDay with(Monthmonth)方法返回此MonthDay的副本,其中月份已更改。1语法publicMonthDaywith(Monthmonth)2参数month:在返回
java time MonthDay of(intmonth,intdayOfMonth)方法获取MonthDay的实例。1语法publicstaticMonthDayof(intmonth,intdayOfMonth)2参数mont
java time MonthDay withDayOfMonth(intdayOfMonth)方法返回此MonthDay的副本,并更改了日期。1语法publicMonthDaywithDayOfMonth(intdayOf
java time MonthDay toString()方法将此日期输出为String值,例如"--10-15"。1语法publicStringtoString()2参数无3返回值此日期的字符串表
java time MonthDay range(TemporalFieldfield)方法获取指定字段的有效值范围。1语法publicValueRangerange(TemporalFieldfield)2参数field
java time MonthDay query(TemporalQuery<R>query)方法使用指定的查询在本月查询。1语法public<R>Rquery(TemporalQuery<R>query)2参数query
java time MonthDay parse(CharSequencetext,DateTimeFormatterformatter)方法使用特定格式化程序从文本字符串中获取MonthDay的实例。1语
java time MonthDay of(Monthmonth,intdayOfMonth)方法获取MonthDay的实例。1语法publicstaticMonthDayof(Monthmonth,intdayOfMonth)2参数