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

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

Introduction

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

The text is from its open source code.

Constructor

Hour()
Constructs a new Hour, based on the system date/time.
Hour(int hour, int day, int month, int year)
Creates a new hour.
Hour(int hour, Day day)
Constructs a new Hour.
Hour(Date time, TimeZone zone)
Constructs a new instance, based on the supplied date/time evaluated in the specified time zone.
Hour(Date time, TimeZone zone, Locale locale)
Constructs a new instance, based on the supplied date/time evaluated in the specified time zone.
Hour(Date time)
Constructs a new instance, based on the supplied date/time and the default time zone.

Method

booleanequals(Object obj)
Tests the equality of this object against an arbitrary Object.
DaygetDay()
Returns the day in which this hour falls.
intgetDayOfMonth()
Returns the day-of-the-month in which this hour falls.
DategetEnd()
Returns the date/time that marks the end of the time period.
longgetFirstMillisecond()
Returns the first millisecond of the hour.
longgetFirstMillisecond(Calendar calendar)
Returns the first millisecond of the hour.
intgetHour()
Returns the hour.
longgetLastMillisecond()
Returns the last millisecond of the hour.
longgetLastMillisecond(Calendar calendar)
Returns the last millisecond of the hour.
intgetMonth()
Returns the month in which this hour falls.
longgetSerialIndex()
Returns a serial index number for the hour.
DategetStart()
Returns the date/time that marks the start of the time period.
intgetYear()
Returns the year in which this hour falls.
inthashCode()
Returns a hash code for this object instance.
RegularTimePeriodnext()
Returns the hour following this one.
HourparseHour(String s)
Creates an Hour instance by parsing a string.
RegularTimePeriodprevious()
Returns the hour preceding this one.