Example usage for Java org.jfree.data.time Month fields, constructors, methods, implement or subclass
The text is from its open source code.
Month(int month, int year) Constructs a new month instance. | |
Month(int month, Year year) Constructs a new month instance. | |
Month(Date time, TimeZone zone) Constructs a new Month instance, based on a date/time and a time zone. | |
Month(Date time) Constructs a new Month instance, based on a date/time and the default time zone. | |
Month() Constructs a new Month, based on the current system time. | |
Month(Date time, TimeZone zone, Locale locale) Creates a new Month instance, based on the specified time, zone and locale. |
boolean | equals(Object obj) Tests the equality of this Month object to an arbitrary object. |
Year | evaluateAsYear(String s) Creates a year from a string, or returns null (format exceptions suppressed). |
int | findSeparator(String s) Finds the first occurrence of '-', or if that character is not found, the first occurrence of ',', or the first occurrence of ' ' or '.' |
Date | getEnd() Returns the date/time that marks the end of the time period. |
long | getFirstMillisecond() Returns the first millisecond of the month. |
long | getFirstMillisecond(Calendar calendar) Returns the first millisecond of the month, evaluated using the supplied calendar (which determines the time zone). |
long | getLastMillisecond() Returns the last millisecond of the month. |
long | getLastMillisecond(Calendar calendar) Returns the last millisecond of the month, evaluated using the supplied calendar (which determines the time zone). |
int | getMonth() Returns the month. |
long | getSerialIndex() Returns a serial index number for the month. |
Date | getStart() Returns the date/time that marks the start of the time period. |
Year | getYear() Returns the year in which the month falls. |
int | getYearValue() Returns the year in which the month falls. |
int | hashCode() Returns a hash code for this object instance. |
RegularTimePeriod | next() Returns the month following this one. |
Month | parseMonth(String s) Parses the string argument as a month. |
String | toString() Returns a string representing the month (e.g. |