Example usage for Java org.jfree.data.time Week fields, constructors, methods, implement or subclass
The text is from its open source code.
Week() Creates a new time period for the week in which the current system date/time falls. | |
Week(int week, int year) Creates a time period representing the week in the specified year. | |
Week(int week, Year year) Creates a time period representing the week in the specified year. | |
Week(Date time, TimeZone zone) Creates a time period for the week in which the specified date/time falls, calculated relative to the specified time zone. | |
Week(Date time) Creates a time period for the week in which the specified date/time falls, using the default time zone and locale (the locale can affect the day-of-the-week that marks the beginning of the week, as well as the minimal number of days in the first week of the year). |
boolean | equals(Object obj) Tests the equality of this Week 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 '.' |
Date | getEnd() Returns the date/time that marks the end of the time period. |
long | getFirstMillisecond() Returns the first millisecond of the week. |
long | getFirstMillisecond(Calendar calendar) Returns the first millisecond of the week, evaluated using the supplied calendar (which determines the time zone). |
long | getLastMillisecond() Returns the last millisecond of the week. |
long | getLastMillisecond(Calendar calendar) Returns the last millisecond of the week, evaluated using the supplied calendar (which determines the time zone). |
long | getSerialIndex() Returns a serial index number for the week. |
Date | getStart() Returns the date/time that marks the start of the time period. |
int | getWeek() Returns the week. |
Year | getYear() Returns the year in which the week falls. |
int | getYearValue() Returns the year in which the week falls, as an integer value. |
int | hashCode() Returns a hash code for this object instance. |
RegularTimePeriod | next() Returns the week following this one. |
int | stringToWeek(String s) Converts a string to a week. |