net.fortuna.ical4j.model
Class UtcOffset

java.lang.Object
  extended bynet.fortuna.ical4j.model.UtcOffset
All Implemented Interfaces:
Serializable

public class UtcOffset
extends Object
implements Serializable

Represents a timezone offset from UTC time.

Author:
Ben Fortuna
See Also:
Serialized Form

Constructor Summary
UtcOffset(long offset)
           
UtcOffset(String value)
           
 
Method Summary
 boolean equals(Object arg0)
           
 long getOffset()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UtcOffset

public UtcOffset(String value)
Parameters:
value -

UtcOffset

public UtcOffset(long offset)
Parameters:
offset -
Method Detail

toString

public final String toString()

getOffset

public final long getOffset()
Returns:
Returns the offset.

equals

public final boolean equals(Object arg0)

hashCode

public final int hashCode()