From 06700670ea2db437583d9332b660004feaebb08b Mon Sep 17 00:00:00 2001 From: Enrique Zamudio Date: Mon, 13 May 2013 18:55:01 -0500 Subject: [PATCH] update API calls --- src/test/java/j8583/TestDates.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/j8583/TestDates.java b/src/test/java/j8583/TestDates.java index 1660942..335baef 100644 --- a/src/test/java/j8583/TestDates.java +++ b/src/test/java/j8583/TestDates.java @@ -44,7 +44,7 @@ public class TestDates { Assert.assertEquals(comp.getValue(), today.getTime()); //Now with the binary ByteArrayOutputStream bout = new ByteArrayOutputStream(); - comp.write(bout, true); + comp.write(bout, true, false); IsoValue bin = new Date4ParseInfo().parseBinary(0, bout.toByteArray(), 0, null); Assert.assertEquals(comp.getValue().getTime(), bin.getValue().getTime()); } @@ -57,7 +57,7 @@ public class TestDates { assert comp.getValue().after(new Date()); //Now with the binary ByteArrayOutputStream bout = new ByteArrayOutputStream(); - comp.write(bout, true); + comp.write(bout, true, false); IsoValue bin = new Date10ParseInfo().parseBinary(0, bout.toByteArray(), 0, null); Assert.assertEquals(comp.getValue().getTime(), bin.getValue().getTime()); }