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

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

Introduction

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

The text is from its open source code.

Field

DateFormatDATE_FORMAT
A standard date formatter.
DateFormatDATE_FORMAT_SHORT
A date formatter for the default locale.

Constructor

Day(int day, int month, int year)
Constructs a new one day time period.
Day(Date time, TimeZone zone, Locale locale)
Constructs a new instance, based on a particular date/time and time zone.
Day()
Creates a new instance, derived from the system date/time (and assuming the default timezone).
Day(SerialDate serialDate)
Constructs a new one day time period.
Day(Date time)
Constructs a new instance, based on a particular date/time and the default time zone.
Day(Date time, TimeZone zone)
Constructs a new instance, based on a particular date/time and time zone.

Method

intcompareTo(Object o1)
Returns an integer indicating the order of this Day object relative to the specified object: negative == before, zero == same, positive == after.
booleanequals(Object obj)
Tests the equality of this Day object to an arbitrary object.
intgetDayOfMonth()
Returns the day of the month.
DategetEnd()
Returns the date/time that marks the end of the time period.
longgetFirstMillisecond()
Returns the first millisecond of the day.
longgetFirstMillisecond(Calendar calendar)
Returns the first millisecond of the day, evaluated using the supplied calendar (which determines the time zone).
longgetLastMillisecond()
Returns the last millisecond of the day.
longgetLastMillisecond(Calendar calendar)
Returns the last millisecond of the day, evaluated using the supplied calendar (which determines the time zone).
longgetMiddleMillisecond()
Returns the millisecond closest to the middle of the time period.
intgetMonth()
Returns the month.
SerialDategetSerialDate()
Returns the day as a SerialDate .
longgetSerialIndex()
Returns a serial index number for the day.
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 day following this one, or null if some limit has been reached.
DayparseDay(String s)
Parses the string argument as a day.
RegularTimePeriodprevious()
Returns the day preceding this one.