|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.buildforge.services.client.dbo.TimeZone
public class TimeZone
Represents a specific time zone, generally used to assign to User
s.
Field Summary | |
---|---|
static java.lang.Class<TimeZone> |
CLASS
|
Constructor Summary | |
---|---|
TimeZone(APIClientConnection conn)
Defines a new TimeZone |
Method Summary | |
---|---|
TimeZone |
create()
Deprecated. |
void |
delete()
Deprecated. |
static void |
deleteById(APIClientConnection conn,
java.lang.String zoneId)
Deprecated. |
static java.util.List<TimeZone> |
findAll(APIClientConnection conn)
Retrieves all TimeZone objects from the database |
static TimeZone |
findById(APIClientConnection conn,
java.lang.String zoneId)
Retrieves a specific TimeZone by identifier |
java.lang.String |
getDescription()
Returns the friendly description of this TimeZone |
int |
getDstEndDay()
Returns the day daylight savings time (DST) ends in this TimeZone: -1 None - DST does not apply to this timezone 0 Sunday 1 Monday 2 Tuesday 3 Wednesday 4 Thursday 5 Friday 6 Saturday |
int |
getDstEndMon()
Returns the month daylight savings time (DST) ends in this TimeZone -1 None - DST does not apply to this timezone 0 January 1 Februrary 2 March 3 April 4 May 5 June 6 July 7 August 8 September 9 October 10 November 11 December |
int |
getDstEndPos()
Returns the ordinal of the day in the month (first monday, second tuesday, last wednesday, etc.) that daylight savings time (DST) ends in this TimeZone 0 None - DST does not apply to this timezone 1 First 2 Second 3 Third 4 Fourth 5 Fifth - I can't imagine that this would ever be useful, but ok... |
int |
getDstOffset()
Returns the additional adjustment, in seconds, that is added to adjusted times while DST is active. |
int |
getDstStartDay()
Returns the day daylight savings time (DST) begins in this TimeZone - see getDstEndDay() for value table |
int |
getDstStartMon()
Returns the month daylight savings time (DST) begins in this TimeZone - see getDstEndMon() for value table |
int |
getDstStartPos()
Returns the ordinal of the day in the month (first monday, second tuesday, last wednesday, etc.) that daylight savings time (DST) ends in this TimeZone - see getDstEndPos() for value table |
int |
getGmtOffset()
Returns the base amount of time, in seconds, by which to adjust the UTC time to convert it to this time zone, assuming DST is not active. |
java.lang.String |
getZoneId()
Returns the unique identifier of this TimeZone |
void |
setDescription(java.lang.String description)
Sets the friendly description of this TimeZone |
void |
setDstEndDay(int dstEndDay)
Sets the day DST ends in this TimeZone - see getDstEndDay() for value table |
void |
setDstEndMon(int dstEndMon)
Sets the month DST ends in this TimeZone - see getDstEndMon() for value table |
void |
setDstEndPos(int dstEndPos)
Sets the ordinal of the day in the month (first monday, second tuesday, last wednesday, etc.) that daylight savings time (DST) ends in this TimeZone - see getDstEndPos() for value table |
void |
setDstOffset(int dstOffset)
Sets the additional adjustment, in seconds, that is added to adjusted times while DST is active. |
void |
setDstStartDay(int dstStartDay)
Sets the day daylight savings time (DST) begins in this TimeZone - see getDstEndDay() for value table |
void |
setDstStartMon(int dstStartMon)
Sets the month daylight savings time (DST) begins in this TimeZone - see getDstEndMon() for value table |
void |
setDstStartPos(int dstStartPos)
Sets the ordinal of the day in the month (first monday, second tuesday, last wednesday, etc.) that daylight savings time (DST) ends in this TimeZone - see getDstEndPos() for value table |
void |
setGmtOffset(int gmtOffset)
Sets the base amount of time, in seconds, by which to adjust the UTC time to convert it to this time zone, assuming DST is not active. |
void |
setZoneId(java.lang.String newZoneId)
Sets the unique identifier of this TimeZone |
java.lang.String |
toString()
|
TimeZone |
update()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.Class<TimeZone> CLASS
Constructor Detail |
---|
public TimeZone(APIClientConnection conn)
conn
- Method Detail |
---|
public static java.util.List<TimeZone> findAll(APIClientConnection conn) throws java.io.IOException, ServiceException
conn
-
java.io.IOException
ServiceException
public static TimeZone findById(APIClientConnection conn, java.lang.String zoneId) throws java.io.IOException, ServiceException
conn
- zoneId
-
java.io.IOException
ServiceException
public TimeZone create() throws java.io.IOException, ServiceException
java.io.IOException
ServiceException
public TimeZone update() throws java.io.IOException, ServiceException
java.io.IOException
ServiceException
public void delete() throws java.io.IOException, ServiceException
java.io.IOException
ServiceException
public static void deleteById(APIClientConnection conn, java.lang.String zoneId) throws java.io.IOException, ServiceException
conn
- zoneId
-
java.io.IOException
ServiceException
public java.lang.String getZoneId()
public java.lang.String getDescription()
public int getDstEndDay()
public int getDstEndMon()
public int getDstEndPos()
public int getDstOffset()
public int getDstStartDay()
getDstEndDay()
for value table
getDstEndDay()
public int getDstStartMon()
getDstEndMon()
for value table
getDstEndMon()
public int getDstStartPos()
getDstEndPos()
for value table
getDstEndPos()
public int getGmtOffset()
public void setZoneId(java.lang.String newZoneId)
newZoneId
- public void setDescription(java.lang.String description)
description
- public void setDstEndDay(int dstEndDay)
getDstEndDay()
for value table
dstEndDay
- getDstEndDay()
public void setDstEndMon(int dstEndMon)
getDstEndMon()
for value table
dstEndMon
- getDstEndMon()
public void setDstEndPos(int dstEndPos)
getDstEndPos()
for value table
dstEndPos
- getDstEndPos()
public void setDstOffset(int dstOffset)
dstOffset
- public void setDstStartDay(int dstStartDay)
getDstEndDay()
for value table
dstStartDay
- getDstEndDay()
public void setDstStartMon(int dstStartMon)
getDstEndMon()
for value table
dstStartMon
- getDstEndMon()
public void setDstStartPos(int dstStartPos)
getDstEndPos()
for value table
dstStartPos
- getDstEndPos()
public void setGmtOffset(int gmtOffset)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |