net.fortuna.ical4j.model
Class UtcOffset
java.lang.Object
net.fortuna.ical4j.model.UtcOffset
- All Implemented Interfaces:
- Serializable
public class UtcOffset
- extends Object
- implements Serializable
$Id$
Created on 26/06/2005
Represents a timezone offset from UTC time.
- Author:
- Ben Fortuna
- See Also:
- Serialized Form
UtcOffset
public UtcOffset(String value)
- Parameters:
value
- a string representation of an offset
UtcOffset
public UtcOffset(long offset)
- Parameters:
offset
- an offset value in milliseconds
toString
public final String toString()
-
- Overrides:
toString
in class Object
getOffset
public final long getOffset()
- Returns:
- Returns the offset.
equals
public final boolean equals(Object arg0)
-
- Overrides:
equals
in class Object
hashCode
public final int hashCode()
-
- Overrides:
hashCode
in class Object
Copyright © 2004-2012 Micronode. All Rights Reserved.