Package it.stefanobertini.zebra.cpcl.utility

Examples of it.stefanobertini.zebra.cpcl.utility.SetDate


    @Test
    public void test() {
  SimpleDateFormat format = new SimpleDateFormat("MM-dd-yyyy");
  Date time = new Date();

  SetDate command = new SetDate(time);

  CommandOutputBuilder output = new CommandOutputBuilder();
  output.printLn("! UTILITIES");
  output.printLn("SET-DATE " + format.format(time));
  output.printLn("PRINT");
View Full Code Here


  assertCommand(output, command);
    }

    @Test
    public void testFake() {
  SetDate command = new SetDate();
  command.setDate(null);
  command.getDate();
  command.setDate(new Date());
  command.getDate();
  command.toString();
    }
View Full Code Here

TOP

Related Classes of it.stefanobertini.zebra.cpcl.utility.SetDate

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.