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

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

Introduction

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

The text is from its open source code.

Constructor

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).

Method

booleanequals(Object obj)
Tests the equality of this Week object to an arbitrary object.
YearevaluateAsYear(String s)
Creates a year from a string, or returns null (format exceptions suppressed).
intfindSeparator(String s)
Finds the first occurrence of ' ', '-', ',' or '.'
DategetEnd()
Returns the date/time that marks the end of the time period.
longgetFirstMillisecond()
Returns the first millisecond of the week.
longgetFirstMillisecond(Calendar calendar)
Returns the first millisecond of the week, evaluated using the supplied calendar (which determines the time zone).
longgetLastMillisecond()
Returns the last millisecond of the week.
longgetLastMillisecond(Calendar calendar)
Returns the last millisecond of the week, evaluated using the supplied calendar (which determines the time zone).
longgetSerialIndex()
Returns a serial index number for the week.
DategetStart()
Returns the date/time that marks the start of the time period.
intgetWeek()
Returns the week.
YeargetYear()
Returns the year in which the week falls.
intgetYearValue()
Returns the year in which the week falls, as an integer value.
inthashCode()
Returns a hash code for this object instance.
RegularTimePeriodnext()
Returns the week following this one.
intstringToWeek(String s)
Converts a string to a week.