Class TimestampConverter

java.lang.Object
org.apache.beam.sdk.io.gcp.bigtable.changestreams.TimestampConverter

@Internal public class TimestampConverter extends Object
Convert between different Timestamp and Instant classes.
  • Constructor Details

    • TimestampConverter

      public TimestampConverter()
  • Method Details

    • toThreetenInstant

      public static Instant toThreetenInstant(Instant jodaInstant)
    • toJodaTime

      public static Instant toJodaTime(Instant threetenInstant)
    • toSeconds

      public static long toSeconds(Instant jodaInstant)
    • microsecondToInstant

      public static Instant microsecondToInstant(long microsecond)