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

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

Introduction

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

The text is from its open source code.

Field

nullFIRST_MONTH_IN_QUARTER
The first month in each quarter.
nullLAST_MONTH_IN_QUARTER
The last month in each quarter.

Constructor

Quarter()
Constructs a new Quarter, based on the current system date/time.
Quarter(int quarter, int year)
Constructs a new quarter.
Quarter(int quarter, Year year)
Constructs a new quarter.
Quarter(Date time, TimeZone zone)
Constructs a Quarter, based on a date/time and time zone.
Quarter(Date time)
Constructs a new instance, based on a date/time and the default time zone.

Method

booleanequals(Object obj)
Tests the equality of this Quarter 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 quarter.
longgetFirstMillisecond(Calendar calendar)
Returns the first millisecond in the Quarter, evaluated using the supplied calendar (which determines the time zone).
longgetLastMillisecond()
Returns the last millisecond of the quarter.
longgetLastMillisecond(Calendar calendar)
Returns the last millisecond of the Quarter, evaluated using the supplied calendar (which determines the time zone).
longgetMiddleMillisecond()
Returns the millisecond closest to the middle of the time period.
intgetQuarter()
Returns the quarter.
longgetSerialIndex()
Returns a serial index number for the quarter.
DategetStart()
Returns the date/time that marks the start of the time period.
YeargetYear()
Returns the year.
intgetYearValue()
Returns the year.
inthashCode()
Returns a hash code for this object instance.
RegularTimePeriodnext()
Returns the quarter following this one.
QuarterparseQuarter(String s)
Parses the string argument as a quarter.