Class LocalDateTimeExtensions


  • public class LocalDateTimeExtensions
    extends java.lang.Object
    The class LocalDateTimeExtensions provides methods for convert LocalDateTime objects
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Date toDate​(java.time.LocalDateTime localDateTime)
      Converts the given LocalDateTime to a legacy Date object
      • Methods inherited from class java.lang.Object

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

      • LocalDateTimeExtensions

        public LocalDateTimeExtensions()
    • Method Detail

      • toDate

        public static java.util.Date toDate​(java.time.LocalDateTime localDateTime)
        Converts the given LocalDateTime to a legacy Date object
        Parameters:
        localDateTime - the LocalDateTime object
        Returns:
        The LocalDate object