Class cmdConfig.DateTime

java.lang.Object
Enclosing class:
cmdConfig

public static class cmdConfig.DateTime
extends cmdConfig
Maintenance date and time of fiscal devices
  • Constructor Details

  • Method Details

    • getDateTime

      public java.lang.String getDateTime() throws java.lang.Exception
      Returns:
      Date and time in format: "DD-MM-YY hh:mm:ss DST";
      Throws:
      java.lang.Exception
    • getDate

      public java.lang.String getDate() throws java.lang.Exception
      Returns:
      Date in format: "DD-MM-YY";
      Throws:
      java.lang.Exception
    • getTime

      public java.lang.String getTime() throws java.lang.Exception
      Returns:
      Time in format: "hh:mm:ss DST"
      Throws:
      java.lang.Exception
    • setDateTime

      public void setDateTime​(java.lang.String date, java.lang.String time) throws java.lang.Exception
      Set date and time The command can be executed only one time after daily Z report.
      Parameters:
      date - Date in format: DD-MM-YY
      time - Time in format: hh:mm:ss DST
      Throws:
      java.lang.Exception
    • setDateTime

      public void setDateTime​(java.lang.String dateTime) throws java.lang.Exception
      Set date and time The command can be executed only one time after daily Z report.
      Parameters:
      dateTime - Date in format: DD-MM-YY hh:mm:ss DST
      Throws:
      java.lang.Exception