Example usage for Java org.jfree.data.time Year fields, constructors, methods, implement or subclass
The text is from its open source code.
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. |
boolean | equals(Object obj) Tests the equality of this Year object to an arbitrary object. |
Date | getEnd() Returns the date/time that marks the end of the time period. |
long | getFirstMillisecond() Returns the first millisecond of the year. |
long | getFirstMillisecond(Calendar calendar) Returns the first millisecond of the year, evaluated using the supplied calendar (which determines the time zone). |
long | getLastMillisecond() Returns the last millisecond of the year. |
long | getLastMillisecond(Calendar calendar) Returns the last millisecond of the year, evaluated using the supplied calendar (which determines the time zone). |
long | getSerialIndex() Returns a serial index number for the year. |
Date | getStart() Returns the date/time that marks the start of the time period. |
int | getYear() Returns the year. |
int | hashCode() Returns a hash code for this object instance. |
RegularTimePeriod | next() Returns the year following this one. |
Year | parseYear(String s) Parses the string argument as a year. |
RegularTimePeriod | previous() Returns the year preceding this one. |