java.lang.Object
es.kukenan.smartfi.microservice.smartficore.util.DateUtils

public class DateUtils extends Object
Date utilities.
  • Constructor Details

    • DateUtils

      public DateUtils()
  • Method Details

    • localDateToString

      public static String localDateToString(LocalDate date, String pattern)
      Get the date from LocalDate with Pattern.
      Parameters:
      date - LocalDate value
      pattern - date pattern format
      Returns:
      active document
    • localTimeToString

      public static String localTimeToString(LocalTime time, String pattern)
      Get the time from LocalTime with Pattern.
      Parameters:
      time - LocalTime value
      pattern - time pattern format
      Returns:
      active document
    • localDateTimeToString

      public static String localDateTimeToString(LocalDateTime dateTime, String pattern)
      Get the date and time from LocalDateTime with Pattern.
      Parameters:
      dateTime - LocalDateTime value
      pattern - time pattern format
      Returns:
      active document