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

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

Introduction

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

The text is from its open source code.

Constructor

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.

Method

booleanequals(Object obj)
Tests the equality of this Month 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 if that character is not found, the first occurrence of ',', or 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 month.
longgetFirstMillisecond(Calendar calendar)
Returns the first millisecond of the month, evaluated using the supplied calendar (which determines the time zone).
longgetLastMillisecond()
Returns the last millisecond of the month.
longgetLastMillisecond(Calendar calendar)
Returns the last millisecond of the month, evaluated using the supplied calendar (which determines the time zone).
intgetMonth()
Returns the month.
longgetSerialIndex()
Returns a serial index number for the month.
DategetStart()
Returns the date/time that marks the start of the time period.
YeargetYear()
Returns the year in which the month falls.
intgetYearValue()
Returns the year in which the month falls.
inthashCode()
Returns a hash code for this object instance.
RegularTimePeriodnext()
Returns the month following this one.
MonthparseMonth(String s)
Parses the string argument as a month.
StringtoString()
Returns a string representing the month (e.g.