Span Class Reference

Inherits er::chronic::utils::Range.

Collaboration diagram for Span:

Collaboration graph
[legend]

List of all members.

Public Member Functions

Span add (float seconds)
Span add (long seconds)
Calendar getBeginCalendar ()
Calendar getEndCalendar ()
 Span (long begin, long end)
 Span (Calendar begin, Calendar end)
 Span (Calendar begin, int field, float amount)
Span subtract (long seconds)
String toString ()


Detailed Description

A Span represents a range of time. Since this class extends Range, you can use begin and end to get the beginning and ending times of the span (they will be of class Time)

Constructor & Destructor Documentation

Span ( Calendar  begin,
int  field,
float  amount 
)

Span ( Calendar  begin,
Calendar  end 
)

Span ( long  begin,
long  end 
)


Member Function Documentation

Span add ( float  seconds  ) 

Add a number of seconds to this span, returning the resulting Span

Span add ( long  seconds  ) 

Add a number of seconds to this span, returning the resulting Span

Calendar getBeginCalendar (  ) 

Calendar getEndCalendar (  ) 

Span subtract ( long  seconds  ) 

Subtract a number of seconds to this span, returning the resulting Span

String toString (  ) 

Reimplemented from Range.


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:42:46 2012 for Project Wonder by  doxygen 1.5.8