Skip navigation links
A B C D E F G H I J L M N O P S T U V W Y 

A

addDuration(Duration) - Method in class org.dmfs.rfc5545.DateTime
Add the given duration to this DateTime.
addDuration(Duration) - Method in class org.dmfs.rfc5545.Duration
Add another Duration to this one and return a new Duration object.
addTo(TimeZone, long) - Method in class org.dmfs.rfc5545.Duration
Add this duration to the given timestamp, taking daylight savings in the given time zone into account.
after(DateTime) - Method in class org.dmfs.rfc5545.DateTime
Check if another date is earlier in time than this one.

B

before(DateTime) - Method in class org.dmfs.rfc5545.DateTime
Check if another date is later in time than this one.

C

CALENDAR_SCALE_ALIAS - Static variable in class org.dmfs.rfc5545.calendarmetrics.GregorianCalendarMetrics
 
CALENDAR_SCALE_ALIAS - Static variable in class org.dmfs.rfc5545.calendarmetrics.JulianCalendarMetrics
 
CALENDAR_SCALE_CIVIL - Static variable in class org.dmfs.rfc5545.calendarmetrics.IslamicCalendarMetrics
 
CALENDAR_SCALE_NAME - Static variable in class org.dmfs.rfc5545.calendarmetrics.GregorianCalendarMetrics
 
CALENDAR_SCALE_NAME - Static variable in class org.dmfs.rfc5545.calendarmetrics.JulianCalendarMetrics
 
CALENDAR_SCALE_TLBA - Static variable in class org.dmfs.rfc5545.calendarmetrics.IslamicCalendarMetrics
 
CalendarMetrics - Class in org.dmfs.rfc5545.calendarmetrics
Provides a set of methods that return all kinds of information about a calendar and do some calendar calculations.
CalendarMetrics(String, Weekday, int) - Constructor for class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
 
CalendarMetrics.CalendarMetricsFactory - Class in org.dmfs.rfc5545.calendarmetrics
 
CalendarMetricsFactory() - Constructor for class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics.CalendarMetricsFactory
 

D

DateTime - Class in org.dmfs.rfc5545
Represents a DATE-TIME or DATE value as specified in RFC 5545, Section 3.3.5.
DateTime(CalendarMetrics, DateTime) - Constructor for class org.dmfs.rfc5545.DateTime
Clone constructor changing the CalendarMetrics.
DateTime(CalendarMetrics, TimeZone, DateTime) - Constructor for class org.dmfs.rfc5545.DateTime
Clone constructor that changes the CalendarMetrics and the TimeZone.
DateTime(long) - Constructor for class org.dmfs.rfc5545.DateTime
Create a new DateTime from the given time stamp using DateTime.GREGORIAN_CALENDAR_SCALE and DateTime.UTC time zone.
DateTime(TimeZone, long) - Constructor for class org.dmfs.rfc5545.DateTime
Create a new DateTime from the given time stamp using DateTime.GREGORIAN_CALENDAR_SCALE and the given time zone.
DateTime(CalendarMetrics, TimeZone, long) - Constructor for class org.dmfs.rfc5545.DateTime
Create a new DateTime from the given time stamp using the given CalendarMetrics and the given time zone.
DateTime(int, int, int) - Constructor for class org.dmfs.rfc5545.DateTime
Creates a new DateTime for the given all-day date using the DateTime.GREGORIAN_CALENDAR_SCALE.
DateTime(int, int, int, int, int, int) - Constructor for class org.dmfs.rfc5545.DateTime
Create a new floating DateTime using DateTime.GREGORIAN_CALENDAR_SCALE.
DateTime(TimeZone, int, int, int, int, int, int) - Constructor for class org.dmfs.rfc5545.DateTime
Creates a new absolute DateTime instance in the given TimeZone using the DateTime.GREGORIAN_CALENDAR_SCALE.
DateTime(String, int, int, int) - Constructor for class org.dmfs.rfc5545.DateTime
Creates a new DateTime for the given all-day date using the given calendar scale.
DateTime(String, int, int, int, int, int, int) - Constructor for class org.dmfs.rfc5545.DateTime
Create a new floating DateTime using the given calendar scale.
DateTime(String, TimeZone, int, int, int, int, int, int) - Constructor for class org.dmfs.rfc5545.DateTime
Creates a new absolute DateTime instance in the given TimeZone and calendar scale.
DateTime(CalendarMetrics, int, int, int) - Constructor for class org.dmfs.rfc5545.DateTime
Creates a new DateTime for the given all-day date using the given calendar metrics.
DateTime(CalendarMetrics, int, int, int, int, int, int) - Constructor for class org.dmfs.rfc5545.DateTime
Create a new floating DateTime using the given calendar metrics.
DateTime(CalendarMetrics, TimeZone, int, int, int, int, int, int) - Constructor for class org.dmfs.rfc5545.DateTime
Creates a new absolute DateTime instance in the given TimeZone and calendar metrics.
dayOfMonth(int) - Static method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Get the day of month from a compound MonthAndDay value like CalendarMetrics.getMonthAndDayOfYearDay(int, int) and CalendarMetrics.monthAndDay(int, int) return it.
dayOfMonth(long) - Static method in class org.dmfs.rfc5545.Instance
Get the day of month of the given packed instance.
dayOfWeek(long) - Static method in class org.dmfs.rfc5545.Instance
Get the day of week stored in the packed instance.
DAYS_PER_CYCLE - Static variable in class org.dmfs.rfc5545.calendarmetrics.IslamicCalendarMetrics
 
Duration - Class in org.dmfs.rfc5545
Represents duration values as specified in RFC 5545, Section 3.3.6.
Duration(int, int) - Constructor for class org.dmfs.rfc5545.Duration
Create a duration of the given number of weeks.
Duration(int, int, int, int, int) - Constructor for class org.dmfs.rfc5545.Duration
Create a duration of the given day and time values.
Duration(int, int, int) - Constructor for class org.dmfs.rfc5545.Duration
Create a duration of the given day and time values.

E

equals(Object) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
By default two CalendarMetrics equal when they are of the same class and the week definition equals.
equals(Object) - Method in class org.dmfs.rfc5545.DateTime
 
equals(Object) - Method in class org.dmfs.rfc5545.Duration
 

F

FACTORY - Static variable in class org.dmfs.rfc5545.calendarmetrics.GregorianCalendarMetrics
 
FACTORY - Static variable in class org.dmfs.rfc5545.calendarmetrics.JulianCalendarMetrics
 

G

getCalendarMetrics(Weekday) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics.CalendarMetricsFactory
 
getCalendarMetrics(Weekday) - Method in class org.dmfs.rfc5545.calendarmetrics.IslamicCalendarMetrics.IslamicCalendarMetricsFactory
 
getCalendarMetrics() - Method in class org.dmfs.rfc5545.DateTime
Returns the CalendarMetrics of this DateTime.
getCalendarMetricsForName(String) - Static method in class org.dmfs.rfc5545.UnicodeCalendarScales
 
getDayOfMonth() - Method in class org.dmfs.rfc5545.DateTime
Returns the month day of this date-time object.
getDayOfMonthOfYearDay(int, int) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Determines the day of month for a given day of year.
getDayOfMonthOfYearDay(int, int) - Method in class org.dmfs.rfc5545.calendarmetrics.GregorianCalendarMetrics
 
getDayOfMonthOfYearDay(int, int) - Method in class org.dmfs.rfc5545.calendarmetrics.IslamicCalendarMetrics
 
getDayOfWeek(int, int) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Returns the day of week of the given year date.
getDayOfWeek(int, int, int) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Returns the day of week of the given date.
getDayOfWeek(int, int) - Method in class org.dmfs.rfc5545.calendarmetrics.JulianCalendarMetrics
 
getDayOfWeek() - Method in class org.dmfs.rfc5545.DateTime
Returns the week day of this DateTime object.
getDayOfYear(int, int, int) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Get the day of the year for the specified date.
getDayOfYear(int, int, int) - Method in class org.dmfs.rfc5545.calendarmetrics.GregorianCalendarMetrics
 
getDayOfYear(int, int, int) - Method in class org.dmfs.rfc5545.calendarmetrics.IslamicCalendarMetrics
 
getDays() - Method in class org.dmfs.rfc5545.Duration
Return the days of this duration.
getDaysPerPackedMonth(int, int) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Get the number of days in a specific packed month.
getDaysPerPackedMonth(int, int) - Method in class org.dmfs.rfc5545.calendarmetrics.GregorianCalendarMetrics
 
getDaysPerPackedMonth(int, int) - Method in class org.dmfs.rfc5545.calendarmetrics.IslamicCalendarMetrics
 
getDaysPerYear(int) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Get the number of days in the given year.
getDaysPerYear(int) - Method in class org.dmfs.rfc5545.calendarmetrics.GregorianCalendarMetrics
 
getDaysPerYear(int) - Method in class org.dmfs.rfc5545.calendarmetrics.IslamicCalendarMetrics
 
getHours() - Method in class org.dmfs.rfc5545.DateTime
Returns the hours in this date-time object.
getHours() - Method in class org.dmfs.rfc5545.Duration
Return the hours of this duration.
getInstance() - Method in class org.dmfs.rfc5545.DateTime
Get the packed instance value of this DateTime.
getMaxMonthDayNum() - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Returns the largest month day number that the current calendar supports.
getMaxMonthDayNum() - Method in class org.dmfs.rfc5545.calendarmetrics.GregorianCalendarMetrics
 
getMaxMonthDayNum() - Method in class org.dmfs.rfc5545.calendarmetrics.IslamicCalendarMetrics
 
getMaxWeekNoNum() - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Returns the largest week number that the current calendar supports.
getMaxWeekNoNum() - Method in class org.dmfs.rfc5545.calendarmetrics.GregorianCalendarMetrics
 
getMaxWeekNoNum() - Method in class org.dmfs.rfc5545.calendarmetrics.IslamicCalendarMetrics
 
getMaxYearDayNum() - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Returns the largest year day number that the current calendar supports.
getMaxYearDayNum() - Method in class org.dmfs.rfc5545.calendarmetrics.GregorianCalendarMetrics
 
getMaxYearDayNum() - Method in class org.dmfs.rfc5545.calendarmetrics.IslamicCalendarMetrics
 
getMinutes() - Method in class org.dmfs.rfc5545.DateTime
Returns the minutes in this date-time object.
getMinutes() - Method in class org.dmfs.rfc5545.Duration
Return the minutes of this duration.
getMonth() - Method in class org.dmfs.rfc5545.DateTime
Returns the month of this date-time object.
getMonthAndDayOfYearDay(int, int) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Determines the month and day for a given day of year.
getMonthAndDayOfYearDay(int, int) - Method in class org.dmfs.rfc5545.calendarmetrics.GregorianCalendarMetrics
 
getMonthAndDayOfYearDay(int, int) - Method in class org.dmfs.rfc5545.calendarmetrics.IslamicCalendarMetrics
 
getMonthsPerYear(int) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Get the number of months in the given year.
getMonthsPerYear() - Method in class org.dmfs.rfc5545.calendarmetrics.GregorianCalendarMetrics
 
getMonthsPerYear() - Method in class org.dmfs.rfc5545.calendarmetrics.IslamicCalendarMetrics
 
getMonthsPerYear(int) - Method in class org.dmfs.rfc5545.calendarmetrics.NoLeapMonthCalendarMetrics
 
getMonthsPerYear() - Method in class org.dmfs.rfc5545.calendarmetrics.NoLeapMonthCalendarMetrics
Returns the number of months in a year.
getPackedMonthOfYearDay(int, int) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Determines the month of a given day of year.
getPackedMonthOfYearDay(int, int) - Method in class org.dmfs.rfc5545.calendarmetrics.GregorianCalendarMetrics
 
getPackedMonthOfYearDay(int, int) - Method in class org.dmfs.rfc5545.calendarmetrics.IslamicCalendarMetrics
 
getRawDays() - Method in class org.dmfs.rfc5545.Duration
Returns the actual number of days, without taking weeks into account.
getSeconds() - Method in class org.dmfs.rfc5545.DateTime
Returns the seconds in this date-time object.
getSeconds() - Method in class org.dmfs.rfc5545.Duration
Return the seconds of this duration.
getSecondsOfDay() - Method in class org.dmfs.rfc5545.Duration
Returns the time part in seconds.
getSign() - Method in class org.dmfs.rfc5545.Duration
Return the sign of this duration.
getTimestamp() - Method in class org.dmfs.rfc5545.DateTime
Returns the timestamp of this DateTime instance.
getTimeZone() - Method in class org.dmfs.rfc5545.DateTime
Returns the TimeZone of this DateTime.
getWeekDayOfFirstYearDay(int) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Get the weekday of the first day (which is January the 1st in a Gregorian Calendar) in the given year.
getWeekDayOfFirstYearDay(int) - Method in class org.dmfs.rfc5545.calendarmetrics.GregorianCalendarMetrics
 
getWeekDayOfFirstYearDay(int) - Method in class org.dmfs.rfc5545.calendarmetrics.IslamicCalendarMetrics
 
getWeekDayOfFirstYearDay(int) - Method in class org.dmfs.rfc5545.calendarmetrics.JulianCalendarMetrics
 
getWeekOfYear(int, int, int) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Get the ISO week number of the given date.
getWeekOfYear(int, int) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Get the ISO week number of the given date.
getWeekOfYear(int, int) - Method in class org.dmfs.rfc5545.calendarmetrics.GregorianCalendarMetrics
 
getWeekOfYear(int, int) - Method in class org.dmfs.rfc5545.calendarmetrics.IslamicCalendarMetrics
 
getWeekOfYear() - Method in class org.dmfs.rfc5545.DateTime
Returns the week of year of this date-time object.
getWeeks() - Method in class org.dmfs.rfc5545.Duration
Return the weeks of this duration.
getWeeksPerYear(int) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Get the number of ISO weeks in the given year.
getWeeksPerYear(int) - Method in class org.dmfs.rfc5545.calendarmetrics.GregorianCalendarMetrics
 
getWeeksPerYear(int) - Method in class org.dmfs.rfc5545.calendarmetrics.IslamicCalendarMetrics
 
getYear() - Method in class org.dmfs.rfc5545.DateTime
Returns the year of this date-time object.
getYearDayOfFirstWeekStart(int) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Get the day of year of the start of the first week in a year.
getYearDayOfFirstWeekStart(int) - Method in class org.dmfs.rfc5545.calendarmetrics.GregorianCalendarMetrics
 
getYearDayOfFirstWeekStart(int) - Method in class org.dmfs.rfc5545.calendarmetrics.IslamicCalendarMetrics
 
getYearDayOfIsoYear(int, int, int) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Get the day of the year for the specified ISO week date, see ISO week date If the day belongs to the previous year zero or a negative value is returned.
getYearDayOfIsoYear(int, int, int) - Method in class org.dmfs.rfc5545.calendarmetrics.GregorianCalendarMetrics
 
getYearDayOfIsoYear(int, int, int) - Method in class org.dmfs.rfc5545.calendarmetrics.IslamicCalendarMetrics
 
getYearDayOfWeekStart(int, int) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Get the day of year of the start of the given week in a year.
getYearDayOfWeekStart(int, int) - Method in class org.dmfs.rfc5545.calendarmetrics.GregorianCalendarMetrics
 
getYearDayOfWeekStart(int, int) - Method in class org.dmfs.rfc5545.calendarmetrics.IslamicCalendarMetrics
 
getYearDaysForPackedMonth(int, int) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Get the number of days preceding the given month in the given year.
getYearDaysForPackedMonth(int, int) - Method in class org.dmfs.rfc5545.calendarmetrics.GregorianCalendarMetrics
 
getYearDaysForPackedMonth(int, int) - Method in class org.dmfs.rfc5545.calendarmetrics.IslamicCalendarMetrics
 
GREGORIAN_CALENDAR_SCALE - Static variable in class org.dmfs.rfc5545.DateTime
The default calendar scale.
GregorianCalendarMetrics - Class in org.dmfs.rfc5545.calendarmetrics
Provides a set of methods that provide information about the Gregorian Calendar.
GregorianCalendarMetrics(Weekday, int) - Constructor for class org.dmfs.rfc5545.calendarmetrics.GregorianCalendarMetrics
Create calendar metrics for a Gregorian calendar with the given week numbering.

H

hashCode() - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
 
hashCode() - Method in class org.dmfs.rfc5545.DateTime
 
hashCode() - Method in class org.dmfs.rfc5545.Duration
 
hour(long) - Static method in class org.dmfs.rfc5545.Instance
Get the hour of the given packed instance.

I

Instance - Class in org.dmfs.rfc5545
Provides a set of static methods to manipulate date and time values stored in a single packed long value.
isAllDay() - Method in class org.dmfs.rfc5545.DateTime
Returns whether this is an all-day instance.
isFloating() - Method in class org.dmfs.rfc5545.DateTime
Returns whether this is a floating instance.
IslamicCalendarMetrics - Class in org.dmfs.rfc5545.calendarmetrics
Provides a set of methods that provide information about the Islamic Calendar.
IslamicCalendarMetrics(String, Weekday, int, IslamicCalendarMetrics.LeapYearPattern, boolean) - Constructor for class org.dmfs.rfc5545.calendarmetrics.IslamicCalendarMetrics
Create calendar metrics for an Islamic calendar with the given week numbering.
IslamicCalendarMetrics.IslamicCalendarMetricsFactory - Class in org.dmfs.rfc5545.calendarmetrics
 
IslamicCalendarMetrics.LeapYearPattern - Enum in org.dmfs.rfc5545.calendarmetrics
 
IslamicCalendarMetricsFactory(String, IslamicCalendarMetrics.LeapYearPattern, boolean) - Constructor for class org.dmfs.rfc5545.calendarmetrics.IslamicCalendarMetrics.IslamicCalendarMetricsFactory
 
isLeapMonth(int) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Returns whether a certain packed month is a leap month, i.e. a month that exists in certain years only.
isLeapMonth(int) - Method in class org.dmfs.rfc5545.calendarmetrics.NoLeapMonthCalendarMetrics
 
isZero() - Method in class org.dmfs.rfc5545.Duration
Returns whether this Duration represents zero time.

J

JulianCalendarMetrics - Class in org.dmfs.rfc5545.calendarmetrics
Provides a set of methods that provide information about the Julian Calendar.
JulianCalendarMetrics(Weekday, int) - Constructor for class org.dmfs.rfc5545.calendarmetrics.JulianCalendarMetrics
Create calendar metrics for a Julian calendar with the given week numbering.

L

LEAP_YEAR_COUNT - Static variable in class org.dmfs.rfc5545.calendarmetrics.IslamicCalendarMetrics
One array per IslamicCalendarMetrics.LeapYearPattern that contains the number of leap days that occurred up to a particular year in the 30 year cycle.
LEAP_YEAR_PATTERNS - Static variable in class org.dmfs.rfc5545.calendarmetrics.IslamicCalendarMetrics
An array of (packed) patterns based on different leap year rules.

M

make(int, int, int, int, int, int, int) - Static method in class org.dmfs.rfc5545.Instance
Return an instance value for the given date and time.
make(int, int, int, int, int, int) - Static method in class org.dmfs.rfc5545.Instance
Return an instance value for the given date and time.
maskWeekday(long) - Static method in class org.dmfs.rfc5545.Instance
Masks the day of week value of the given instance.
MILLIS_PER_CYCLE - Static variable in class org.dmfs.rfc5545.calendarmetrics.IslamicCalendarMetrics
 
MILLIS_PER_DAY - Static variable in class org.dmfs.rfc5545.calendarmetrics.IslamicCalendarMetrics
 
MILLIS_TO_1389_10_22C - Static variable in class org.dmfs.rfc5545.calendarmetrics.IslamicCalendarMetrics
This is the number of milliseconds between {I}0001-01-01 (civil scale) and {I}1389-10-22 (civil scale) (i.e.
minDaysInFirstWeek - Variable in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
The minimal number of days in the first week.
minute(long) - Static method in class org.dmfs.rfc5545.Instance
Get the minute of the given packed instance.
month(long) - Static method in class org.dmfs.rfc5545.Instance
Get the month of the given packed instance.
monthAndDay(int, int) - Static method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Returns a packed value that contains a packed month and a month day.
monthNum(int) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Returns the month number of a packed month.
monthNum(int) - Method in class org.dmfs.rfc5545.calendarmetrics.NoLeapMonthCalendarMetrics
 

N

nextDay(long) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Moves the given instance forward to the next (existing day).
nextDay(long, int) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Moves the given instance forward by one or more days.
nextDay(long) - Method in class org.dmfs.rfc5545.calendarmetrics.NoLeapMonthCalendarMetrics
 
nextDay(long, int) - Method in class org.dmfs.rfc5545.calendarmetrics.NoLeapMonthCalendarMetrics
 
nextMonth(long) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Moves the given instance forward by one month.
nextMonth(long, int) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Moves the given instance forward by one or more months.
nextMonth(long) - Method in class org.dmfs.rfc5545.calendarmetrics.NoLeapMonthCalendarMetrics
 
nextMonth(long, int) - Method in class org.dmfs.rfc5545.calendarmetrics.NoLeapMonthCalendarMetrics
 
NoLeapMonthCalendarMetrics - Class in org.dmfs.rfc5545.calendarmetrics
An abstract base class for calendar scales that have no leap month.
NoLeapMonthCalendarMetrics(String, Weekday, int) - Constructor for class org.dmfs.rfc5545.calendarmetrics.NoLeapMonthCalendarMetrics
Create calendar metrics for a calendar without leap months with the given week numbering.
now() - Static method in class org.dmfs.rfc5545.DateTime
Return a new DateTime having the current date and time in DateTime.UTC.
now(TimeZone) - Static method in class org.dmfs.rfc5545.DateTime
Return a new DateTime having the current date and time in the given TimeZone.
nowAndHere() - Static method in class org.dmfs.rfc5545.DateTime
Return a new DateTime having the current date and time in the local TimeZone.

O

org.dmfs.rfc5545 - package org.dmfs.rfc5545
 
org.dmfs.rfc5545.calendarmetrics - package org.dmfs.rfc5545.calendarmetrics
 

P

packedMonth(int) - Static method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Get the packed month from a compound MonthAndDay value like CalendarMetrics.getMonthAndDayOfYearDay(int, int) and CalendarMetrics.monthAndDay(int, int) return it.
packedMonth(String) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Returns a packed month from a string representation.
packedMonth(int, boolean) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Returns a packed month, which is a combination of the month number and a leap month flag.
packedMonth(String) - Method in class org.dmfs.rfc5545.calendarmetrics.NoLeapMonthCalendarMetrics
 
packedMonth(int, boolean) - Method in class org.dmfs.rfc5545.calendarmetrics.NoLeapMonthCalendarMetrics
 
packedMonthToString(int) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Convert the packed month to a numerical string representation.
packedMonthToString(int) - Method in class org.dmfs.rfc5545.calendarmetrics.NoLeapMonthCalendarMetrics
 
parse(String) - Static method in class org.dmfs.rfc5545.DateTime
Parses a date-time string as specified in RFC 5545, Section 3.3.5.
parse(String, String) - Static method in class org.dmfs.rfc5545.DateTime
Parses a date-time string as specified in RFC 5545, Section 3.3.5.
parse(TimeZone, String) - Static method in class org.dmfs.rfc5545.DateTime
Parses a date-time string as specified in RFC 5545, Section 3.3.5.
parse(String, TimeZone, String) - Static method in class org.dmfs.rfc5545.DateTime
Parses a date-time string as specified in RFC 5545, Section 3.3.5.
parse(CalendarMetrics, TimeZone, String) - Static method in class org.dmfs.rfc5545.DateTime
Parses a date-time string as specified in RFC 5545, Section 3.3.5.
parse(String) - Static method in class org.dmfs.rfc5545.Duration
Parse the given Duration String to a Duration value.
prevDay(long) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Moves the given instance backward to the previous (existing) day.
prevDay(long, int) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Moves the given instance backward by one or more days.
prevDay(long) - Method in class org.dmfs.rfc5545.calendarmetrics.NoLeapMonthCalendarMetrics
 
prevDay(long, int) - Method in class org.dmfs.rfc5545.calendarmetrics.NoLeapMonthCalendarMetrics
 
prevMonth(long) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Moves the given instance backward by one month.
prevMonth(long, int) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Moves the given instance backward by one or more months.
prevMonth(long) - Method in class org.dmfs.rfc5545.calendarmetrics.NoLeapMonthCalendarMetrics
 
prevMonth(long, int) - Method in class org.dmfs.rfc5545.calendarmetrics.NoLeapMonthCalendarMetrics
 

S

scaleEquals(CalendarMetrics) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Returns whether two CalendarMetrics implement the same calendar scale.
second(long) - Static method in class org.dmfs.rfc5545.Instance
Get the seconds of the given packed instance.
setDayOfMonth(long, int) - Static method in class org.dmfs.rfc5545.Instance
Update the day of month of the given instance.
setDayOfWeek(long, int) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Changes the day of week of the given instance ot the given value, but keeping the week number constant
setDayOfWeek(long, int) - Static method in class org.dmfs.rfc5545.Instance
Update the day of week of the given instance.
setHour(long, int) - Static method in class org.dmfs.rfc5545.Instance
Update the hour of the given instance.
setMinute(long, int) - Static method in class org.dmfs.rfc5545.Instance
Update the minute of the given instance.
setMonth(long, int) - Static method in class org.dmfs.rfc5545.Instance
Update the month of the given instance.
setMonthAndDayOfMonth(long, int, int) - Static method in class org.dmfs.rfc5545.Instance
Update the month and day of month of the given instance.
setSecond(long, int) - Static method in class org.dmfs.rfc5545.Instance
Update the seconds of the given instance.
setYear(long, int) - Static method in class org.dmfs.rfc5545.Instance
Update the year of the given instance.
shiftTimeZone(TimeZone) - Method in class org.dmfs.rfc5545.DateTime
Replace the current time zone by the given one, keeping the absolute time constant.
startOfDay() - Method in class org.dmfs.rfc5545.DateTime
Return the start of this day.
startOfWeek(long) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Get the start date of the week the given instance is in.
swapTimeZone(TimeZone) - Method in class org.dmfs.rfc5545.DateTime
Replace the current time zone by the given one, keeping the local time constant.

T

toAllDay() - Method in class org.dmfs.rfc5545.DateTime
Get an all-day DateTime representing the day of this DateTime instance.
today() - Static method in class org.dmfs.rfc5545.DateTime
Return a new DateTime having the current date.
toGregorian(long) - Method in class org.dmfs.rfc5545.calendarmetrics.IslamicCalendarMetrics
Convert the given Islamic instance to Gregorian calendar.
toInstance(long, TimeZone) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Converts a timestamp to an instance in the given TimeZone.
toInstance(long, TimeZone) - Method in class org.dmfs.rfc5545.calendarmetrics.GregorianCalendarMetrics
 
toInstance(long, TimeZone) - Method in class org.dmfs.rfc5545.calendarmetrics.IslamicCalendarMetrics
 
toInstance(long, TimeZone) - Method in class org.dmfs.rfc5545.calendarmetrics.JulianCalendarMetrics
 
toMillis(long, TimeZone) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Convert an instance to milliseconds since the epoch (i.e. since 1970-01-01 0:00:00 UTC).
toMillis(TimeZone, int, int, int, int, int, int, int) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Convert the given (local) date to milliseconds since the epoch using the given TimeZone.
toMillis(TimeZone, int, int, int, int, int, int, int) - Method in class org.dmfs.rfc5545.calendarmetrics.GregorianCalendarMetrics
 
toMillis(TimeZone, int, int, int, int, int, int, int) - Method in class org.dmfs.rfc5545.calendarmetrics.IslamicCalendarMetrics
 
toMillis(TimeZone, int, int, int, int, int, int, int) - Method in class org.dmfs.rfc5545.calendarmetrics.JulianCalendarMetrics
 
toMillis() - Method in class org.dmfs.rfc5545.Duration
Returns the value of this Duration in milliseconds, assuming days of 24 hours.
toString() - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
 
toString() - Method in class org.dmfs.rfc5545.calendarmetrics.IslamicCalendarMetrics.IslamicCalendarMetricsFactory
 
toString() - Method in class org.dmfs.rfc5545.DateTime
 
toString() - Method in class org.dmfs.rfc5545.Duration
 
toString(long) - Static method in class org.dmfs.rfc5545.Instance
Convert the given instance to a String that conforms to RFC 5545, Section 3.3.5.
toString(long, boolean) - Static method in class org.dmfs.rfc5545.Instance
Convert the given instance to a String that conforms to RFC 5545, Section 3.3.5.

U

UnicodeCalendarScales - Class in org.dmfs.rfc5545
Helper class to convert Unicode calendar names to CalendarMetrics.
UnicodeCalendarScales() - Constructor for class org.dmfs.rfc5545.UnicodeCalendarScales
 
UTC - Static variable in class org.dmfs.rfc5545.DateTime
Static instance of the time zone UTC.

V

validate(long) - Method in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
Validates the given instance.
valueOf(String) - Static method in enum org.dmfs.rfc5545.calendarmetrics.IslamicCalendarMetrics.LeapYearPattern
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dmfs.rfc5545.Weekday
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.dmfs.rfc5545.calendarmetrics.IslamicCalendarMetrics.LeapYearPattern
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dmfs.rfc5545.Weekday
Returns an array containing the constants of this enum type, in the order they are declared.

W

Weekday - Enum in org.dmfs.rfc5545
Enumeration of week days.
WEEKDAYS - Static variable in class org.dmfs.rfc5545.calendarmetrics.GregorianCalendarMetrics
An array of Weekdays.
WEEKDAYS - Static variable in class org.dmfs.rfc5545.calendarmetrics.IslamicCalendarMetrics
An array of Weekdays.
weekStart - Variable in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
The first day of the week.
weekStartInt - Variable in class org.dmfs.rfc5545.calendarmetrics.CalendarMetrics
The first day of the week int.
writeTo(StringBuilder) - Method in class org.dmfs.rfc5545.DateTime
Write the date-time string represented by this object to the given StringBuilder.
writeTo(Writer) - Method in class org.dmfs.rfc5545.DateTime
Write the date-time string represented by this object to the given Writer..
writeTo(StringBuilder) - Method in class org.dmfs.rfc5545.Duration
Write the Duration String to the given StringBuilder.
writeTo(Writer) - Method in class org.dmfs.rfc5545.Duration
Write the Duration String to the given Writer.
writeTo(StringBuilder, long) - Static method in class org.dmfs.rfc5545.Instance
Write a string representation of the given instance that conforms to RFC 5545, Section 3.3.5 to a StringBuilder.
writeTo(StringBuilder, long, boolean) - Static method in class org.dmfs.rfc5545.Instance
Write a string representation of the given instance that conforms to RFC 5545, Section 3.3.5 to a StringBuilder.
writeTo(Writer, long) - Static method in class org.dmfs.rfc5545.Instance
Write a string representation of the given instance that conforms to RFC 5545, Section 3.3.5 to a Writer.
writeTo(Writer, long, boolean) - Static method in class org.dmfs.rfc5545.Instance
Write a string representation of the given instance that conforms to RFC 5545, Section 3.3.5 to a Writer.

Y

year(long) - Static method in class org.dmfs.rfc5545.Instance
Get the year of the given packed instance.
A B C D E F G H I J L M N O P S T U V W Y 
Skip navigation links