public class YearWrapper extends Object implements Serializable
| 构造器和说明 |
|---|
YearWrapper(int year,
List<MonthWrapper> months) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getLength() |
List<MonthWrapper> |
getMonths() |
int |
getYear() |
boolean |
isLeapYear() |
void |
setLeapYear(boolean isLeapYear) |
void |
setLength(int length) |
void |
setMonths(List<MonthWrapper> months) |
void |
setYear(int year) |
public YearWrapper(int year,
List<MonthWrapper> months)
public int getYear()
public void setYear(int year)
public List<MonthWrapper> getMonths()
public void setMonths(List<MonthWrapper> months)
public boolean isLeapYear()
public void setLeapYear(boolean isLeapYear)
public int getLength()
public void setLength(int length)
Copyright © 2021. All rights reserved.