net.fortuna.ical4j.model

Class UtcOffset

Implemented Interfaces:
Serializable

public class UtcOffset
extends java.lang.Object
implements Serializable

$Id: UtcOffset.java,v 1.13 2008/12/16 12:34:52 fortuna Exp $ Created on 26/06/2005 Represents a timezone offset from UTC time.

Constructor Summary

UtcOffset(String value)
UtcOffset(long offset)

Method Summary

boolean
equals(Object arg0)
long
getOffset()
int
hashCode()
String
toString()

Constructor Details

UtcOffset

public UtcOffset(String value)
Parameters:
value -

UtcOffset

public UtcOffset(long offset)
Parameters:
offset -

Method Details

equals

public final boolean equals(Object arg0)

getOffset

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

hashCode

public final int hashCode()

toString

public final String toString()