From 6d46c473d41c6c47e6b8bd8c676d925e544bd378 Mon Sep 17 00:00:00 2001 From: Benjamin Culkin Date: Fri, 5 Jul 2024 12:43:13 -0400 Subject: More cleanup --- .../main/java/net/wotonomy/foundation/NSTimestamp.java | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/NSTimestamp.java') diff --git a/projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/NSTimestamp.java b/projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/NSTimestamp.java index 03590f2..57c728d 100644 --- a/projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/NSTimestamp.java +++ b/projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/NSTimestamp.java @@ -36,10 +36,13 @@ import java.util.TimeZone; public class NSTimestamp extends Timestamp implements NSCoding { + private static final long serialVersionUID = 8450053854095874663L; + public static class IntRef { public int value = 0; + @Override public String toString() { return getClass().getName() + " < value = " + value + " >"; } @@ -71,7 +74,7 @@ public class NSTimestamp extends Timestamp implements NSCoding { return l * 1000L; } - public Class classForCoder() { + public Class classForCoder() { return getClass(); } @@ -205,6 +208,7 @@ public class NSTimestamp extends Timestamp implements NSCoding { throw new UnsupportedOperationException("Not Yet Implemented"); } + @Override public String toString() { throw new UnsupportedOperationException("Not Yet Implemented"); } @@ -217,44 +221,53 @@ public class NSTimestamp extends Timestamp implements NSCoding { throw new UnsupportedOperationException("Not Yet Implemented"); } + @Override public void setNanos(int i) { throw new UnsupportedOperationException("Not Yet Implemented"); } /** @deprecated This method deprecated in parent java.util.Date */ + @Override public void setDate(int i) { throw new UnsupportedOperationException("Not Yet Implemented"); } /** @deprecated This method deprecated in parent java.util.Date */ + @Override public void setHours(int i) { throw new UnsupportedOperationException("Not Yet Implemented"); } /** @deprecated This method deprecated in parent java.util.Date */ + @Override public void setMinutes(int i) { throw new UnsupportedOperationException("Not Yet Implemented"); } /** @deprecated This method deprecated in parent java.util.Date */ + @Override public void setMonth(int i) { throw new UnsupportedOperationException("Not Yet Implemented"); } /** @deprecated This method deprecated in parent java.util.Date */ + @Override public void setSeconds(int i) { throw new UnsupportedOperationException("Not Yet Implemented"); } + @Override public void setTime(long l) { throw new UnsupportedOperationException("Not Yet Implemented"); } + @Override public long getTime() { throw new UnsupportedOperationException("Not Yet Implemented"); } /** @deprecated This method deprecated in parent java.util.Date */ + @Override public void setYear(int i) { throw new UnsupportedOperationException("Not Yet Implemented"); } -- cgit v1.2.3