Clover coverage report - JBind Project
Coverage timestamp: Fr Mai 28 2004 11:17:36 CEST
file stats: LOC: 36   Methods: 3
NCLOC: 20   Classes: 1
This license of Clover is provided to support the development of JBind only. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover.
 
 Source file Conditionals Statements Methods TOTAL
GDay.java - 14,3% 33,3% 20%
 1   
 /*
 2   
  * JBind
 3   
  *
 4   
  * Copyright (c) by Stefan Wachter. All rights reserved.
 5   
  *
 6   
  * Usage, modification, and redistribution is subject to license terms that are
 7   
  * available at 'http://www.jbind.org'. The JBind license is like the
 8   
  * 'Apache Software License V 1.1'.
 9   
  */
 10   
 package org.jbind.xml.instance.data;
 11   
 
 12   
 import org.jbind.util.other.StrBuffer;
 13   
 import org.jbind.xml.core.data.CompareResult;
 14   
 import org.jbind.xml.core.data.IGDay;
 15   
 import org.jbind.xml.core.data.ITimeZone;
 16   
 
 17   
 public class GDay extends GDate implements IGDay {
 18   
 
 19  3
   public GDay(int aDay, ITimeZone aTimeZone) {
 20  3
     super(DEFAULT_SIGN, DEFAULT_YEAR, DEFAULT_MONTH, aDay, aTimeZone);
 21   
   }
 22   
 
 23  0
   public CompareResult compareTo(IGDay aDate) {
 24  0
     return doCompare((GDate)aDate);
 25   
   }
 26   
 
 27  0
   public String toString() {
 28  0
     StrBuffer sb = new StrBuffer();
 29  0
     sb.append("---");
 30  0
     outputDay(sb);
 31  0
     outputTimeZone(sb);
 32  0
     return sb.toString();
 33   
   }
 34   
 
 35   
 }
 36