public class ICalTimeZone extends TimeZone
VTimezone component.| Modifier and Type | Class and Description |
|---|---|
static class |
ICalTimeZone.Boundary
Holds the timezone observance information of a particular date.
|
| Constructor and Description |
|---|
ICalTimeZone(VTimezone component)
Creates a new timezone based on an iCalendar VTIMEZONE component.
|
| Modifier and Type | Method and Description |
|---|---|
VTimezone |
getComponent()
Gets the VTIMEZONE component that is being wrapped.
|
String |
getDisplayName(boolean daylight,
int style,
Locale locale) |
Observance |
getObservance(Date date)
Gets the observance that a date is effected by.
|
ICalTimeZone.Boundary |
getObservanceBoundary(Date date)
Gets the timezone information of a date.
|
int |
getOffset(int era,
int year,
int month,
int day,
int dayOfWeek,
int millis) |
int |
getRawOffset() |
boolean |
inDaylightTime(Date date) |
void |
setRawOffset(int offset) |
boolean |
useDaylightTime() |
clone, getAvailableIDs, getAvailableIDs, getDefault, getDisplayName, getDisplayName, getDisplayName, getDSTSavings, getID, getOffset, getTimeZone, hasSameRules, observesDaylightTime, setDefault, setIDpublic ICalTimeZone(VTimezone component)
component - the VTIMEZONE component to wrappublic String getDisplayName(boolean daylight, int style, Locale locale)
getDisplayName in class TimeZonepublic int getOffset(int era, int year, int month, int day, int dayOfWeek, int millis)
public int getRawOffset()
getRawOffset in class TimeZonepublic boolean inDaylightTime(Date date)
inDaylightTime in class TimeZonepublic void setRawOffset(int offset)
setRawOffset in class TimeZoneUnsupportedOperationException - not supported by this
implementationpublic boolean useDaylightTime()
useDaylightTime in class TimeZonepublic ICalTimeZone.Boundary getObservanceBoundary(Date date)
date - the datepublic Observance getObservance(Date date)
date - the datepublic VTimezone getComponent()
Copyright © 2013-2015 Michael Angstadt. All Rights Reserved.