Class Temporals

java.lang.Object
io.debezium.time.Temporals

public class Temporals extends Object
Misc. functionality dealing with temporal data types.
Author:
Gunnar Morling
  • Constructor Details

    • Temporals

      public Temporals()
  • Method Details

    • max

      public static Duration max(Duration d1, Duration d2)
      Returns that duration from the given ones which represents the larger amount of time ("is longer"). If both durations are equal, that same value will be returned.
    • min

      public static Duration min(Duration d1, Duration d2)
      Returns that duration from the given ones which represents the smaller amount of time ("is shorted"). If both durations are equal, that same value will be returned.