当前位置: 首页>>代码示例>>Java>>正文


Java MonthConstants.FEBRUARY属性代码示例

本文整理汇总了Java中org.jfree.date.MonthConstants.FEBRUARY属性的典型用法代码示例。如果您正苦于以下问题:Java MonthConstants.FEBRUARY属性的具体用法?Java MonthConstants.FEBRUARY怎么用?Java MonthConstants.FEBRUARY使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在org.jfree.date.MonthConstants的用法示例。


在下文中一共展示了MonthConstants.FEBRUARY属性的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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);
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:9,代码来源:MonthTests.java

示例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);
}
 
开发者ID:mdzio,项目名称:ccu-historian,代码行数:10,代码来源:MonthTest.java

示例3: test28Feb1900ToSerial

/**
 * Create a date for 28-Feb-1900: the serial number should be 60.
 */
public void test28Feb1900ToSerial() {
    SpreadsheetDate d = new SpreadsheetDate(28, MonthConstants.FEBRUARY, 
            1900);
    assertEquals(60, d.toSerial());
}
 
开发者ID:nologic,项目名称:nabs,代码行数:8,代码来源:SpreadsheetDateTests.java

示例4: test01Feb2000ToSerial

/**
 * Create a date for 01-Feb-2000: the serial number should be 36557.
 */
public void test01Feb2000ToSerial() {
    SpreadsheetDate d = new SpreadsheetDate(1, MonthConstants.FEBRUARY, 
            2000);
    assertEquals(36557, d.toSerial());
}
 
开发者ID:nologic,项目名称:nabs,代码行数:8,代码来源:SpreadsheetDateTests.java

示例5: test28Feb2000ToSerial

/**
 * Create a date for 28-Feb-2000: the serial number should be 36584.
 */
public void test28Feb2000ToSerial() {
    SpreadsheetDate d = new SpreadsheetDate(28, MonthConstants.FEBRUARY, 
            2000);
    assertEquals(36584, d.toSerial());
}
 
开发者ID:nologic,项目名称:nabs,代码行数:8,代码来源:SpreadsheetDateTests.java

示例6: test29feb2000ToSerial

/**
 * Create a date for 29-Feb-2000: the serial number should be 36585.
 */
public void test29feb2000ToSerial() {
    SpreadsheetDate d = new SpreadsheetDate(29, MonthConstants.FEBRUARY, 
            2000);
    assertEquals(36585, d.toSerial());
}
 
开发者ID:nologic,项目名称:nabs,代码行数:8,代码来源:SpreadsheetDateTests.java


注:本文中的org.jfree.date.MonthConstants.FEBRUARY属性示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。