Class DateUtils

java.lang.Object
com.axemble.vdoc.sdk.utils.DateUtils

public class DateUtils extends Object
Author:
vlygeros
  • Constructor Details

    • DateUtils

      public DateUtils()
  • Method Details

    • dateToString

      public static String dateToString(Date date, com.axemble.vdp.localization.interfaces.IFormatService format, int size)
    • dateToString

      public static String dateToString(Date date)
    • dateToString

      public static String dateToString(Date date, String dateFormat)
    • parseDate

      public static Date parseDate(String dateAsString)
    • parseDate

      public static Date parseDate(String dateAsString, String dateFormat)
    • notNull

      protected static String notNull(String data)
    • convertToServerTZDate

      public static Date convertToServerTZDate(Date date)
      convert a gmt time zone date in server time zone date
      Parameters:
      gmtDate - gmt time zone date
      Returns:
      server time zone date
    • convertFromServerTZDate

      public static Date convertFromServerTZDate(Date date)
      convert a gmt time zone date in server time zone date
      Parameters:
      gmtDate - gmt time zone date
      Returns:
      server time zone date