Clover coverage report - JBind Project
Coverage timestamp: Fr Mai 28 2004 11:17:36 CEST
file stats: LOC: 37   Methods: 3
NCLOC: 21   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
GMonth.java - 12,5% 33,3% 18,2%
 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.IGMonth;
 15   
 import org.jbind.xml.core.data.ITimeZone;
 16   
 
 17   
 public class GMonth extends GDate implements IGMonth {
 18   
 
 19  1
   public GMonth(int aMonth, ITimeZone aTimeZone) {
 20  1
     super(DEFAULT_SIGN, DEFAULT_YEAR, aMonth, DEFAULT_DAY, aTimeZone);
 21   
   }
 22   
 
 23  0
   public CompareResult compareTo(IGMonth 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
     outputMonth(sb);
 31  0
     sb.append("--");
 32  0
     outputTimeZone(sb);
 33  0
     return sb.toString();
 34   
   }
 35   
 
 36   
 }
 37