Class TimestampDataUtil

    • Constructor Detail

      • TimestampDataUtil

        public TimestampDataUtil()
        Deprecated.
    • Method Detail

      • epochTimeToTimestamp

        @Deprecated
        public static Timestamp epochTimeToTimestamp​(long epochSecs,
                                                     int subsecNanos,
                                                     int offsetSecs)
        Deprecated.
        Converts an epoch time to a Java timestamp.
        Parameters:
        epochSecs - number of seconds since Java epoch
        subsecNanos - fractional portion of epoch time in nanoseconds
        offsetSecs - time zone + daylight saving time offset in seconds
        Returns:
        a timestamp corresponding to the epoch time