本文整理汇总了Java中org.jfree.date.MonthConstants.NOVEMBER属性的典型用法代码示例。如果您正苦于以下问题:Java MonthConstants.NOVEMBER属性的具体用法?Java MonthConstants.NOVEMBER怎么用?Java MonthConstants.NOVEMBER使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类org.jfree.date.MonthConstants
的用法示例。
在下文中一共展示了MonthConstants.NOVEMBER属性的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setUp
/**
* Common test setup.
*/
protected void setUp() {
this.jan1900 = new Month(MonthConstants.JANUARY, 1900);
this.feb1900 = new Month(MonthConstants.FEBRUARY, 1900);
this.nov9999 = new Month(MonthConstants.NOVEMBER, 9999);
this.dec9999 = new Month(MonthConstants.DECEMBER, 9999);
}
示例2: setUp
/**
* Common test setup.
*/
@Before
public void setUp() {
this.jan1900 = new Month(MonthConstants.JANUARY, 1900);
this.feb1900 = new Month(MonthConstants.FEBRUARY, 1900);
this.nov9999 = new Month(MonthConstants.NOVEMBER, 9999);
this.dec9999 = new Month(MonthConstants.DECEMBER, 9999);
}
示例3: test12Nov2001GetDayOfWeek
/**
* 12 November 2001 is a Monday.
*/
public void test12Nov2001GetDayOfWeek() {
SerialDate nov12Y2001 = new SpreadsheetDate(12,
MonthConstants.NOVEMBER, 2001);
int dayOfWeek = nov12Y2001.getDayOfWeek();
assertEquals(SerialDate.MONDAY, dayOfWeek);
}