pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.component.statistics.model.aggregation
Enum AbstractAggregation.Hour

java.lang.Object
  extended by java.lang.Enum<AbstractAggregation.Hour>
      extended by org.torweg.pulse.component.statistics.model.aggregation.AbstractAggregation.Hour
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AbstractAggregation.Hour>
Enclosing class:
AbstractAggregation

public static enum AbstractAggregation.Hour
extends java.lang.Enum<AbstractAggregation.Hour>

The known hours for the PIRecordCountAggregation.HitCounter.

Version:
$Revision: 1579 $
Author:
Daniel Dietz

Enum Constant Summary
EIGHT
          Eight [08:00:00:000 - 08:59:59:999].
EIGHTEEN
          Eighteen [18:00:00:000 - 18:59:59:999].
ELEVEN
          Eleven [11:00:00:000 - 11:59:59:999].
FIFTEEN
          Fifteen [15:00:00:000 - 15:59:59:999].
FIVE
          Five [05:00:00:000 - 05:59:59:999].
FOUR
          Four [04:00:00:000 - 04:59:59:999].
FOURTEEN
          Fourteen [14:00:00:000 - 14:59:59:999].
NINE
          Nine [09:00:00:000 - 09:59:59:999].
NINETEEN
          Nineteen [19:00:00:000 - 19:59:59:999].
ONE
          One [01:00:00:000 - 01:59:59:999].
SEVEN
          Seven [07:00:00:000 - 07:59:59:999].
SEVENTEEN
          Seventeen [17:00:00:000 - 17:59:59:999].
SIX
          Six [06:00:00:000 - 06:59:59:999].
SIXTEEN
          Sixteen [16:00:00:000 - 16:59:59:999].
TEN
          Ten [10:00:00:000 - 10:59:59:999].
THIRTEEN
          Thirteen [13:00:00:000 - 13:59:59:999].
THREE
          Three [03:00:00:000 - 03:59:59:999].
TWELVE
          Twelve [12:00:00:000 - 12:59:59:999].
TWENTY
          Twenty [20:00:00:000 - 20:59:59:999].
TWENTY_ONE
          Twenty-one [21:00:00:000 - 21:59:59:999].
TWENTY_THREE
          Twenty-three [23:00:00:000 - 23:59:59:999].
TWENTY_TWO
          Twenty-two [22:00:00:000 - 22:59:59:999].
TWO
          Two [02:00:00:000 - 02:59:59:999].
ZERO
          Zero [00:00:00:000 - 00:59:59:999].
 
Method Summary
 int getValue()
          Returns the value.
static AbstractAggregation.Hour valueOf(int i)
          Returns the matching Hour for the given integer i if (-1 < i < 24), null otherwise.
static AbstractAggregation.Hour valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AbstractAggregation.Hour[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ZERO

public static final AbstractAggregation.Hour ZERO
Zero [00:00:00:000 - 00:59:59:999].


ONE

public static final AbstractAggregation.Hour ONE
One [01:00:00:000 - 01:59:59:999].


TWO

public static final AbstractAggregation.Hour TWO
Two [02:00:00:000 - 02:59:59:999].


THREE

public static final AbstractAggregation.Hour THREE
Three [03:00:00:000 - 03:59:59:999].


FOUR

public static final AbstractAggregation.Hour FOUR
Four [04:00:00:000 - 04:59:59:999].


FIVE

public static final AbstractAggregation.Hour FIVE
Five [05:00:00:000 - 05:59:59:999].


SIX

public static final AbstractAggregation.Hour SIX
Six [06:00:00:000 - 06:59:59:999].


SEVEN

public static final AbstractAggregation.Hour SEVEN
Seven [07:00:00:000 - 07:59:59:999].


EIGHT

public static final AbstractAggregation.Hour EIGHT
Eight [08:00:00:000 - 08:59:59:999].


NINE

public static final AbstractAggregation.Hour NINE
Nine [09:00:00:000 - 09:59:59:999].


TEN

public static final AbstractAggregation.Hour TEN
Ten [10:00:00:000 - 10:59:59:999].


ELEVEN

public static final AbstractAggregation.Hour ELEVEN
Eleven [11:00:00:000 - 11:59:59:999].


TWELVE

public static final AbstractAggregation.Hour TWELVE
Twelve [12:00:00:000 - 12:59:59:999].


THIRTEEN

public static final AbstractAggregation.Hour THIRTEEN
Thirteen [13:00:00:000 - 13:59:59:999].


FOURTEEN

public static final AbstractAggregation.Hour FOURTEEN
Fourteen [14:00:00:000 - 14:59:59:999].


FIFTEEN

public static final AbstractAggregation.Hour FIFTEEN
Fifteen [15:00:00:000 - 15:59:59:999].


SIXTEEN

public static final AbstractAggregation.Hour SIXTEEN
Sixteen [16:00:00:000 - 16:59:59:999].


SEVENTEEN

public static final AbstractAggregation.Hour SEVENTEEN
Seventeen [17:00:00:000 - 17:59:59:999].


EIGHTEEN

public static final AbstractAggregation.Hour EIGHTEEN
Eighteen [18:00:00:000 - 18:59:59:999].


NINETEEN

public static final AbstractAggregation.Hour NINETEEN
Nineteen [19:00:00:000 - 19:59:59:999].


TWENTY

public static final AbstractAggregation.Hour TWENTY
Twenty [20:00:00:000 - 20:59:59:999].


TWENTY_ONE

public static final AbstractAggregation.Hour TWENTY_ONE
Twenty-one [21:00:00:000 - 21:59:59:999].


TWENTY_TWO

public static final AbstractAggregation.Hour TWENTY_TWO
Twenty-two [22:00:00:000 - 22:59:59:999].


TWENTY_THREE

public static final AbstractAggregation.Hour TWENTY_THREE
Twenty-three [23:00:00:000 - 23:59:59:999].

Method Detail

values

public static final AbstractAggregation.Hour[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(AbstractAggregation.Hour c : AbstractAggregation.Hour.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static AbstractAggregation.Hour valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

getValue

public int getValue()
Returns the value.

Returns:
the value

valueOf

public static AbstractAggregation.Hour valueOf(int i)
Returns the matching Hour for the given integer i if (-1 < i < 24), null otherwise.

Parameters:
i - the integer value
Returns:
the matching Hour for the given integer, or null if no matching Hour was found