net.sourceforge.cruisecontrol.sourcecontrols.accurev
Class Timespec

java.lang.Object
  extended bynet.sourceforge.cruisecontrol.sourcecontrols.accurev.Timespec
Direct Known Subclasses:
DateTimespec, KeywordTimespec, TransactionNumberTimespec

public abstract class Timespec
extends java.lang.Object

Contains the abstract definition of the time-spec parameter fragment

According to the 'accurev help' reference, time-spec can be:

See the corresponding specific subclasses for them:

Author:
Nicola Orru'
See Also:
DateTimespec, KeywordTimespec, TransactionNumberTimespec

Constructor Summary
Timespec()
          Creates a new Timespec with no count fragment
Timespec(int count)
          Creates a new Timespec having the given count
 
Method Summary
abstract  java.lang.String format()
          Returns the main part (without count) of the timespec
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Timespec

public Timespec()
Creates a new Timespec with no count fragment


Timespec

public Timespec(int count)
Creates a new Timespec having the given count

Parameters:
count - the count
Method Detail

format

public abstract java.lang.String format()
Returns the main part (without count) of the timespec

Returns:
the formatted main timespec

toString

public java.lang.String toString()