Example usage for org.jfree.data.time Year getSerialIndex

List of usage examples for org.jfree.data.time Year getSerialIndex

Introduction

In this page you can find the example usage for org.jfree.data.time Year getSerialIndex.

Prototype

@Override
public long getSerialIndex() 

Source Link

Document

Returns a serial index number for the year.

Usage

From source file:org.jfree.data.time.YearTest.java

/**
 * Some checks for the getSerialIndex() method.
 *///  w  ww . j a v  a  2 s . c  om
@Test
public void testGetSerialIndex() {
    Year y = new Year(2000);
    assertEquals(2000L, y.getSerialIndex());
}