Java org.jfree.data.time Year fields, constructors, methods, implement or subclass

Example usage for Java org.jfree.data.time Year fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.jfree.data.time Year.

The text is from its open source code.

Subclass

org.jfree.data.time.Year has subclasses.
Click this link to see all its subclasses.

Constructor

Year(int year)
Creates a time period representing a single year.
Year(Date time)
Creates a new Year, based on a particular instant in time, using the default time zone.
Year()
Creates a new Year, based on the current system date/time.
Year(Date time, TimeZone zone)
Constructs a year, based on a particular instant in time and a time zone.

Method

booleanequals(Object obj)
Tests the equality of this Year object to an arbitrary object.
DategetEnd()
Returns the date/time that marks the end of the time period.
longgetFirstMillisecond()
Returns the first millisecond of the year.
longgetFirstMillisecond(Calendar calendar)
Returns the first millisecond of the year, evaluated using the supplied calendar (which determines the time zone).
longgetLastMillisecond()
Returns the last millisecond of the year.
longgetLastMillisecond(Calendar calendar)
Returns the last millisecond of the year, evaluated using the supplied calendar (which determines the time zone).
longgetSerialIndex()
Returns a serial index number for the year.
DategetStart()
Returns the date/time that marks the start of the time period.
intgetYear()
Returns the year.
inthashCode()
Returns a hash code for this object instance.
RegularTimePeriodnext()
Returns the year following this one.
YearparseYear(String s)
Parses the string argument as a year.
RegularTimePeriodprevious()
Returns the year preceding this one.