summaryrefslogtreecommitdiff
path: root/projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/NSTimeZone.java
diff options
context:
space:
mode:
Diffstat (limited to 'projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/NSTimeZone.java')
-rw-r--r--projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/NSTimeZone.java23
1 files changed, 19 insertions, 4 deletions
diff --git a/projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/NSTimeZone.java b/projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/NSTimeZone.java
index 7c7b4da..411bc3b 100644
--- a/projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/NSTimeZone.java
+++ b/projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/NSTimeZone.java
@@ -28,8 +28,7 @@ import java.util.Locale;
import java.util.TimeZone;
/**
- * A channel to the database, representing a communication stream within a
- * context of an adaptor.
+ * A time zone for an NSTimeStamp
*
* @author cgruber@israfil.net
* @author $Author: cgruber $
@@ -37,11 +36,14 @@ import java.util.TimeZone;
*/
public class NSTimeZone extends TimeZone implements Cloneable, Serializable, NSCoding {
- protected static class __NSTZPeriodComparator extends NSComparator {
+ private static final long serialVersionUID = -2771392108329800748L;
+
+ protected static class __NSTZPeriodComparator extends NSComparator<__NSTZPeriod> {
protected boolean _ascending = false;
- public int compare(Object obj, Object obj1) throws NSComparator.ComparisonException {
+ @Override
+ public int compare(__NSTZPeriod obj, __NSTZPeriod obj1) throws NSComparator.ComparisonException {
throw new UnsupportedOperationException("Not Yet Implemented");
}
@@ -101,6 +103,7 @@ public class NSTimeZone extends TimeZone implements Cloneable, Serializable, NSC
return getClass();
}
+ @Override
public Object clone() {
throw new UnsupportedOperationException("Not Yet Implemented");
}
@@ -145,10 +148,12 @@ public class NSTimeZone extends TimeZone implements Cloneable, Serializable, NSC
throw new UnsupportedOperationException("Not Yet Implemented");
}
+ @Override
public void setID(String s) {
throw new IllegalStateException(getClass().getName() + " is immutable.");
}
+ @Override
public void setRawOffset(int i) {
throw new IllegalStateException(getClass().getName() + " is immutable.");
}
@@ -185,34 +190,42 @@ public class NSTimeZone extends TimeZone implements Cloneable, Serializable, NSC
throw new UnsupportedOperationException("Not Yet Implemented");
}
+ @Override
public boolean equals(Object obj) {
throw new UnsupportedOperationException("Not Yet Implemented");
}
+ @Override
public String getDisplayName(boolean flag, int i, Locale locale) {
throw new UnsupportedOperationException("Not Yet Implemented");
}
+ @Override
public String getID() {
throw new UnsupportedOperationException("Not Yet Implemented");
}
+ @Override
public int getOffset(int i, int j, int k, int l, int i1, int j1) {
throw new UnsupportedOperationException("Not Yet Implemented");
}
+ @Override
public int getRawOffset() {
throw new UnsupportedOperationException("Not Yet Implemented");
}
+ @Override
public synchronized int hashCode() {
throw new UnsupportedOperationException("Not Yet Implemented");
}
+ @Override
public boolean hasSameRules(TimeZone timezone) {
throw new UnsupportedOperationException("Not Yet Implemented");
}
+ @Override
public boolean inDaylightTime(Date date) {
throw new UnsupportedOperationException("Not Yet Implemented");
}
@@ -241,10 +254,12 @@ public class NSTimeZone extends TimeZone implements Cloneable, Serializable, NSC
throw new UnsupportedOperationException("Not Yet Implemented");
}
+ @Override
public String toString() {
throw new UnsupportedOperationException("Not Yet Implemented");
}
+ @Override
public boolean useDaylightTime() {
throw new UnsupportedOperationException("Not Yet Implemented");
}