Class DateUtils

java.lang.Object
es.kukenan.smartfi.common.utils.DateUtils

public class DateUtils extends Object
Utils for creating and transforming dates and times.
  • Constructor Details

    • DateUtils

      public DateUtils()
  • Method Details

    • zonedDateTimeUtc

      public static ZonedDateTime zonedDateTimeUtc()
      Return the actual date and time UTC relative.
      Returns:
      actual date and time UTC relative.
    • zonedDateTimeUtc

      public static ZonedDateTime zonedDateTimeUtc(long millisFromEpoc)
      Return the date and time UTC relative for the given milliseconds from epoch.
      Parameters:
      millisFromEpoc - milliseconds from EPOCH.
      Returns:
      date and time UTC relative for the given milliseconds from epoch.