From 40a9d99496e098562f090fb7ffce9e749011b131 Mon Sep 17 00:00:00 2001 From: Benjamin Culkin Date: Mon, 20 May 2024 17:58:16 -0400 Subject: Formatting pass --- .../java/net/wotonomy/foundation/NSTimeZone.java | 272 ++++++++++----------- 1 file changed, 135 insertions(+), 137 deletions(-) (limited to 'projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/NSTimeZone.java') 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 171e756..7c7b4da 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 @@ -26,247 +26,245 @@ import java.io.Serializable; import java.util.Date; import java.util.Locale; import java.util.TimeZone; + /** -* A channel to the database, representing a communication -* stream within a context of an adaptor. -* -* @author cgruber@israfil.net -* @author $Author: cgruber $ -* @version $Revision: 892 $ -*/ + * A channel to the database, representing a communication stream within a + * context of an adaptor. + * + * @author cgruber@israfil.net + * @author $Author: cgruber $ + * @version $Revision: 892 $ + */ -public class NSTimeZone extends TimeZone - implements Cloneable, Serializable, NSCoding { - protected static class __NSTZPeriodComparator extends NSComparator { +public class NSTimeZone extends TimeZone implements Cloneable, Serializable, NSCoding { + protected static class __NSTZPeriodComparator extends NSComparator { - protected boolean _ascending = false; + protected boolean _ascending = false; - public int compare(Object obj, Object obj1) throws NSComparator.ComparisonException { + public int compare(Object obj, Object obj1) throws NSComparator.ComparisonException { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public __NSTZPeriodComparator() { + public __NSTZPeriodComparator() { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public __NSTZPeriodComparator(boolean flag) { + public __NSTZPeriodComparator(boolean flag) { throw new UnsupportedOperationException("Not Yet Implemented"); - } - } + } + } - protected static class __NSTZPeriod { + protected static class __NSTZPeriod { - protected String _abbreviation = null; - protected int _isdst = 0; - protected int _offset = 0; - protected double _startTime = 0; + protected String _abbreviation = null; + protected int _isdst = 0; + protected int _offset = 0; + protected double _startTime = 0; - protected boolean before(__NSTZPeriod _p_nstzperiod) { + protected boolean before(__NSTZPeriod _p_nstzperiod) { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - protected boolean equals(__NSTZPeriod _p_nstzperiod) { + protected boolean equals(__NSTZPeriod _p_nstzperiod) { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - protected __NSTZPeriod() { + protected __NSTZPeriod() { throw new UnsupportedOperationException("Not Yet Implemented"); - } - } - + } + } - public static final String SystemTimeZoneDidChangeNotification = "NSSystemTimeZoneDidChangeNotification"; - protected NSData _data = null; - protected transient int _hashCode = 0; - protected transient boolean _initialized = false; - protected transient TimeZone _jdkTimeZone = null; - protected String _name = null; - protected transient int _rawOffset = 0; - protected transient NSMutableArray _timeZonePeriods = null; - protected transient int _timeZonePeriodsCount = 0; - protected transient boolean _useDaylightTime = false; + public static final String SystemTimeZoneDidChangeNotification = "NSSystemTimeZoneDidChangeNotification"; + protected NSData _data = null; + protected transient int _hashCode = 0; + protected transient boolean _initialized = false; + protected transient TimeZone _jdkTimeZone = null; + protected String _name = null; + protected transient int _rawOffset = 0; + protected transient NSMutableArray _timeZonePeriods = null; + protected transient int _timeZonePeriodsCount = 0; + protected transient boolean _useDaylightTime = false; - public NSTimeZone() { + public NSTimeZone() { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - protected NSTimeZone(String s, NSData nsdata) { + protected NSTimeZone(String s, NSData nsdata) { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public static NSDictionary abbreviationDictionary() { + public static NSDictionary abbreviationDictionary() { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public Class classForCoder() { - return getClass(); - } + public Class classForCoder() { + return getClass(); + } - public Object clone() { + public Object clone() { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public static Object decodeObject(NSCoder nscoder) { + public static Object decodeObject(NSCoder nscoder) { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public void encodeWithCoder(NSCoder nscoder) { + public void encodeWithCoder(NSCoder nscoder) { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public static synchronized NSTimeZone defaultTimeZone() { + public static synchronized NSTimeZone defaultTimeZone() { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public static String[] getAvailableIDs() { + public static String[] getAvailableIDs() { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public static TimeZone getDefault() { + public static TimeZone getDefault() { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public static NSArray knownTimeZoneNames() { + public static NSArray knownTimeZoneNames() { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public static NSTimeZone localTimeZone() { + public static NSTimeZone localTimeZone() { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public static synchronized void resetSystemTimeZone() { + public static synchronized void resetSystemTimeZone() { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public static synchronized void setDefault(TimeZone timezone) { + public static synchronized void setDefault(TimeZone timezone) { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public static synchronized void setDefaultTimeZone(NSTimeZone nstimezone) { + public static synchronized void setDefaultTimeZone(NSTimeZone nstimezone) { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public void setID(String s) { - throw new IllegalStateException(getClass().getName() + " is immutable."); - } + public void setID(String s) { + throw new IllegalStateException(getClass().getName() + " is immutable."); + } - public void setRawOffset(int i) { - throw new IllegalStateException(getClass().getName() + " is immutable."); - } + public void setRawOffset(int i) { + throw new IllegalStateException(getClass().getName() + " is immutable."); + } - public static synchronized NSTimeZone systemTimeZone() { + public static synchronized NSTimeZone systemTimeZone() { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public static synchronized NSTimeZone timeZoneForSecondsFromGMT(int i) { + public static synchronized NSTimeZone timeZoneForSecondsFromGMT(int i) { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public static synchronized NSTimeZone timeZoneWithName(String s, boolean flag) { + public static synchronized NSTimeZone timeZoneWithName(String s, boolean flag) { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public static synchronized NSTimeZone timeZoneWithNameAndData(String s, NSData nsdata) { + public static synchronized NSTimeZone timeZoneWithNameAndData(String s, NSData nsdata) { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public static NSTimeZone _nstimeZoneWithTimeZone(TimeZone timezone) { + public static NSTimeZone _nstimeZoneWithTimeZone(TimeZone timezone) { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public String abbreviation() { + public String abbreviation() { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public String abbreviationForTimestamp(NSTimestamp nstimestamp) { + public String abbreviationForTimestamp(NSTimestamp nstimestamp) { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public NSData data() { + public NSData data() { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public boolean equals(Object obj) { + public boolean equals(Object obj) { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public String getDisplayName(boolean flag, int i, Locale locale) { + public String getDisplayName(boolean flag, int i, Locale locale) { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public String getID() { + public String getID() { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public int getOffset(int i, int j, int k, int l, int i1, int j1) { + public int getOffset(int i, int j, int k, int l, int i1, int j1) { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public int getRawOffset() { + public int getRawOffset() { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public synchronized int hashCode() { + public synchronized int hashCode() { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public boolean hasSameRules(TimeZone timezone) { + public boolean hasSameRules(TimeZone timezone) { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public boolean inDaylightTime(Date date) { + public boolean inDaylightTime(Date date) { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public boolean isDaylightSavingTime() { + public boolean isDaylightSavingTime() { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public boolean isDaylightSavingTimeForTimestamp(NSTimestamp nstimestamp) { + public boolean isDaylightSavingTimeForTimestamp(NSTimestamp nstimestamp) { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public boolean isEqualToTimeZone(NSTimeZone nstimezone) { + public boolean isEqualToTimeZone(NSTimeZone nstimezone) { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public String name() { + public String name() { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public int secondsFromGMT() { + public int secondsFromGMT() { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public int secondsFromGMTForTimestamp(NSTimestamp nstimestamp) { + public int secondsFromGMTForTimestamp(NSTimestamp nstimestamp) { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public String toString() { + public String toString() { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - public boolean useDaylightTime() { + public boolean useDaylightTime() { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } - protected Object readResolve() throws ObjectStreamException { + protected Object readResolve() throws ObjectStreamException { throw new UnsupportedOperationException("Not Yet Implemented"); - } + } } /* - * $Log$ - * Revision 1.1 2006/02/16 12:47:16 cgruber - * Check in all sources in eclipse-friendly maven-enabled packages. + * $Log$ Revision 1.1 2006/02/16 12:47:16 cgruber Check in all sources in + * eclipse-friendly maven-enabled packages. * - * Revision 1.2 2003/08/06 23:07:52 chochos - * general code cleanup (mostly, removing unused imports) + * Revision 1.2 2003/08/06 23:07:52 chochos general code cleanup (mostly, + * removing unused imports) * - * Revision 1.1 2002/07/14 21:56:16 mpowers - * Contributions from cgruber. + * Revision 1.1 2002/07/14 21:56:16 mpowers Contributions from cgruber. * - * Revision 1.1 2002/06/25 07:52:57 cgruber - * Add quite a few abstract classes, interfaces, and classes. All API consistent with WebObjects, but with no implementation, nor any private or package access members from the original. + * Revision 1.1 2002/06/25 07:52:57 cgruber Add quite a few abstract classes, + * interfaces, and classes. All API consistent with WebObjects, but with no + * implementation, nor any private or package access members from the original. * */ -- cgit v1.2.3