Subversion Repository Public Repository

litesoft

Diff Revisions 859 vs 861 for /trunk/Java/core/Anywhere/src/org/litesoft/core/simpletypes/temporal/CalendarY.java

Diff revisions: vs.
  @@ -1,6 +1,15 @@
1 1 package org.litesoft.core.simpletypes.temporal;
2 2
3 - public final class CalendarY extends AbstractCalendarY<CalendarY>
3 + import org.litesoft.core.*;
4 +
5 + /**
6 + * A partial date that acts as a sort of proxy for a java.util.Date (burying the deprecated method use) providing
7 + * varying levels of resolution based on the DateRes.
8 + * <p/>
9 + * Note: This class supports Gregorian dates only and has no concept of time or TimeZones. As such when working with
10 + * Java Util Date(s) (or it's descendants) the local (or "Wall") date is all that is considered!
11 + */
12 + public final class CalendarY extends AbstractCalendarY<CalendarY> implements SQLdateable
4 13 {
5 14 private static final long serialVersionUID = 1L;
6 15
  @@ -34,4 +43,16 @@
34 43 {
35 44 return new CalendarY( pNewYear );
36 45 }
46 +
47 + @Override
48 + public String toString()
49 + {
50 + return super.toString(); //To change body of overridden methods use File | Settings | File Templates.
51 + }
52 +
53 + @Override
54 + public String toSQLvalue()
55 + {
56 + return null; //To change body of implemented methods use File | Settings | File Templates.
57 + }
37 58 }