Class RawDayTimeInterval

  • All Implemented Interfaces:
    PofConstants

    public class RawDayTimeInterval
    extends PofHelper
    An immutable POF day-time interval value.
    Since:
    Coherence 3.2
    Author:
    cp 2006.07.17
    • Constructor Detail

      • RawDayTimeInterval

        public RawDayTimeInterval​(int cDays,
                                  int cHours,
                                  int cMinutes,
                                  int cSeconds,
                                  int cNanos)
        Construct a raw POF day-time interval value.
        Parameters:
        cDays - the number of days in the day-time interval
        cHours - the number of hours in the day-time interval
        cMinutes - the number of minutes in the day-time interval
        cSeconds - the number of seconds in the day-time interval
        cNanos - the number of nanoseconds in the day-time interval
    • Method Detail

      • getDays

        public int getDays()
        Determine the number of days in the day-time interval.
        Returns:
        the number of days in the day-time interval
      • getHours

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

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

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

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

        public int hashCode()
        Overrides:
        hashCode in class Object