org.hackystat.dailyprojectdata.resource.snapshot
Class SnapshotBucket

java.lang.Object
  extended by org.hackystat.dailyprojectdata.resource.snapshot.SnapshotBucket

 class SnapshotBucket
extends java.lang.Object

Represents a "bucket" of time that the snapshot uses to query for data.

Author:
jsakuda

Constructor Summary
SnapshotBucket(javax.xml.datatype.XMLGregorianCalendar startTime, javax.xml.datatype.XMLGregorianCalendar endTime)
          Creates a new bucket of time.
 
Method Summary
(package private)  javax.xml.datatype.XMLGregorianCalendar getEndTime()
          Gets the end time.
(package private)  javax.xml.datatype.XMLGregorianCalendar getStartTime()
          Gets the start time.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnapshotBucket

SnapshotBucket(javax.xml.datatype.XMLGregorianCalendar startTime,
               javax.xml.datatype.XMLGregorianCalendar endTime)
Creates a new bucket of time.

Parameters:
startTime - The start of the bucket.
endTime - The end of the bucket.
Method Detail

getStartTime

javax.xml.datatype.XMLGregorianCalendar getStartTime()
Gets the start time.

Returns:
Returns the start time.

getEndTime

javax.xml.datatype.XMLGregorianCalendar getEndTime()
Gets the end time.

Returns:
Returns the end time.