caltool.schedule
Class Duration

java.lang.Object
  extended by caltool.schedule.Duration

public class Duration
extends java.lang.Object

Duration is the time length of a scheduled item, in hours and minutes. The miniumn duration value is 1 minute. The maximum is 999 houus.

Version:
14jan11
Author:
Gene Fisher (gfisher@calpoly.edu)

Field Summary
(package private)  int hours
          Hour component of a duration value, between 0 and 999
(package private)  int minutes
          Minute component of a duration value, between 0 and 60*999
 
Constructor Summary
Duration()
          Construct an empty duration value.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hours

int hours
Hour component of a duration value, between 0 and 999


minutes

int minutes
Minute component of a duration value, between 0 and 60*999

Constructor Detail

Duration

public Duration()
Construct an empty duration value.