Class TaskUtils


  • public final class TaskUtils
    extends java.lang.Object
    Utility methods used by various Genie tasks.
    Since:
    3.0.0
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected TaskUtils()
      Protected constructor for utility class.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.time.Instant getMidnightUTC()
      Get exactly midnight (00:00:00.000) UTC for the current day.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TaskUtils

        protected TaskUtils()
        Protected constructor for utility class.
    • Method Detail

      • getMidnightUTC

        public static java.time.Instant getMidnightUTC()
        Get exactly midnight (00:00:00.000) UTC for the current day.
        Returns:
        12 AM UTC.