org.jbind.xml.instance.data
Class TimeHelper

java.lang.Object
  extended byorg.jbind.xml.instance.data.TimeHelper

public class TimeHelper
extends java.lang.Object


Method Summary
static IDateTime add(IDateTime aDateTime, IDurationBase aDuration)
           
static ITime add(ITime aTime, ITimeZone aDuration)
           
static int maxDayInMonthFor(int aYear, int aMonth)
          Given {year,month} computes maximum number of days for given month
static void output(int anInt, int aLength, StrBuffer aStringBuffer)
           
static void output(int anInt, StrBuffer aStrBuffer)
           
static IDateTime subtract(IDateTime aDateTime, IDurationBase aDuration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

add

public static ITime add(ITime aTime,
                        ITimeZone aDuration)

add

public static IDateTime add(IDateTime aDateTime,
                            IDurationBase aDuration)

subtract

public static IDateTime subtract(IDateTime aDateTime,
                                 IDurationBase aDuration)

maxDayInMonthFor

public static int maxDayInMonthFor(int aYear,
                                   int aMonth)
Given {year,month} computes maximum number of days for given month

Returns:
integer containg the number of days in a given month

output

public static void output(int anInt,
                          int aLength,
                          StrBuffer aStringBuffer)

output

public static void output(int anInt,
                          StrBuffer aStrBuffer)