eu.emi.emir.client.util
Class Duration

java.lang.Object
  extended by eu.emi.emir.client.util.Duration

public class Duration
extends Object

Author:
a.memon

Constructor Summary
Duration()
           
 
Method Summary
 int getDays()
           
 int getHours()
           
 int getMinutes()
           
 int getMonths()
           
 int getSeconds()
           
 int getYears()
           
 void setDays(int days)
           
 void setHours(int hours)
           
 void setMinutes(int minutes)
           
 void setMonths(int months)
           
 void setSeconds(int seconds)
           
 void setYears(int years)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Duration

public Duration()
Method Detail

getHours

public int getHours()
Returns:
the hours

setHours

public void setHours(int hours)
Parameters:
hours - the hours to set

getMinutes

public int getMinutes()
Returns:
the minutes

setMinutes

public void setMinutes(int minutes)
Parameters:
minutes - the minutes to set

getSeconds

public int getSeconds()
Returns:
the seconds

setSeconds

public void setSeconds(int seconds)
Parameters:
seconds - the seconds to set

getDays

public int getDays()
Returns:
the days

setDays

public void setDays(int days)
Parameters:
days - the days to set

getMonths

public int getMonths()
Returns:
the months

setMonths

public void setMonths(int months)
Parameters:
months - the months to set

getYears

public int getYears()
Returns:
the years

setYears

public void setYears(int years)
Parameters:
years - the years to set

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 EMI. All Rights Reserved.