net.sourceforge.jpotpourri.util
Class Duration

java.lang.Object
  extended by net.sourceforge.jpotpourri.util.Duration

public final class Duration
extends java.lang.Object

Author:
christoph_pickl@users.sourceforge.net

Method Summary
 java.lang.String formatStringShort()
           
 int getHours()
           
 int getMinutes()
           
 int getTotalInMinutes()
           
static Duration newByMinHour(int minutes, int hours)
           
static Duration newByTotal(int totalMinutes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getHours

public int getHours()

getMinutes

public int getMinutes()

getTotalInMinutes

public int getTotalInMinutes()

formatStringShort

public java.lang.String formatStringShort()

newByTotal

public static Duration newByTotal(int totalMinutes)

newByMinHour

public static Duration newByMinHour(int minutes,
                                    int hours)


Copyright © 2008. All Rights Reserved.