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

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

Introduction

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

Prototype

public Year() 

Source Link

Document

Creates a new Year, based on the current system date/time.

Usage

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

/**
 * Check that a Year instance is equal to itself.
 *
 * SourceForge Bug ID: 558850.//from   w  ww  .ja va2  s . c  o  m
 */
@Test
public void testEqualsSelf() {
    Year year = new Year();
    assertTrue(year.equals(year));
}