Class DateTimeData

    • Field Detail

    • Constructor Detail

      • DateTimeData

        public DateTimeData()
    • Method Detail

      • getInitRecordNumber

        public String getInitRecordNumber()
      • today

        public static String today​(ConnectionProvider connectionProvider)
                            throws javax.servlet.ServletException
        Throws:
        javax.servlet.ServletException
      • tomorrow

        public static String tomorrow​(ConnectionProvider connectionProvider)
                               throws javax.servlet.ServletException
        Throws:
        javax.servlet.ServletException
      • nDaysAfter

        public static String nDaysAfter​(ConnectionProvider connectionProvider,
                                        String fecha,
                                        String dias)
                                 throws javax.servlet.ServletException
        Throws:
        javax.servlet.ServletException
      • now

        public static String now​(ConnectionProvider connectionProvider,
                                 String formatPattern)
                          throws javax.servlet.ServletException
        Throws:
        javax.servlet.ServletException
      • compare

        public static String compare​(ConnectionProvider connectionProvider,
                                     String fecha1,
                                     String fecha2)
                              throws javax.servlet.ServletException
        Throws:
        javax.servlet.ServletException
      • weekBefore

        public static String weekBefore​(ConnectionProvider connectionProvider)
                                 throws javax.servlet.ServletException
        Throws:
        javax.servlet.ServletException
      • firstDay

        public static String firstDay​(ConnectionProvider connectionProvider,
                                      String fecha)
                               throws javax.servlet.ServletException
        Throws:
        javax.servlet.ServletException
      • sysdateYear

        public static String sysdateYear​(ConnectionProvider connectionProvider)
                                  throws javax.servlet.ServletException
        Throws:
        javax.servlet.ServletException
      • lastYear

        public static String lastYear​(ConnectionProvider connectionProvider)
                               throws javax.servlet.ServletException
        Throws:
        javax.servlet.ServletException
      • sysdateMonth

        public static String sysdateMonth​(ConnectionProvider connectionProvider)
                                   throws javax.servlet.ServletException
        Throws:
        javax.servlet.ServletException