Class RawTimeInterval

All Implemented Interfaces:
PofConstants

public class RawTimeInterval extends PofHelper
An immutable POF time interval value.
Since:
Coherence 3.2
Author:
cp 2006.07.17
  • Constructor Details

    • RawTimeInterval

      public RawTimeInterval(int cHours, int cMinutes, int cSeconds, int cNanos)
      Construct a raw POF time interval value.
      Parameters:
      cHours - the number of hours in the time interval
      cMinutes - the number of minutes in the time interval
      cSeconds - the number of seconds in the time interval
      cNanos - the number of nanoseconds in the time interval
  • Method Details

    • getHours

      public int getHours()
      Determine the number of hours in the time interval.
      Returns:
      the number of hours in the time interval
    • getMinutes

      public int getMinutes()
      Determine the number of minutes in the time interval.
      Returns:
      the number of minutes in the time interval
    • getSeconds

      public int getSeconds()
      Determine the number of seconds in the time interval.
      Returns:
      the number of seconds in the time interval
    • getNanos

      public int getNanos()
      Determine the number of nanoseconds in the time interval.
      Returns:
      the number of nanoseconds in the time interval
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object