Package de.zalando.sprocwrapper.example

Examples of de.zalando.sprocwrapper.example.ComplexDate


        Assert.assertTrue(!date.equals(checkDateWithTimeZone));
    }

    @Test
    public void checkDateComplexDate() {
        final ComplexDate complexDate = new ComplexDate();
        final Date date = new Date();
        complexDate.dateWithoutTimeZone = (Date) date.clone();
        complexDate.dateWithoutTimeZoneTransformed = (Date) date.clone();
        complexDate.dateWithTimeZone = (Date) date.clone();
        complexDate.dateWithTimeZoneTransformed = (Date) date.clone();

        final ComplexDate complexDateReturned = exampleSProcServiceDateConversion.checkDateComplexDate(complexDate);

        Assert.assertEquals(complexDate.dateWithoutTimeZone, complexDateReturned.dateWithoutTimeZone);
        Assert.assertEquals(complexDate.dateWithoutTimeZoneTransformed,
            complexDateReturned.dateWithoutTimeZoneTransformed);
        Assert.assertEquals(complexDate.dateWithTimeZone, complexDateReturned.dateWithTimeZone);
View Full Code Here

TOP

Related Classes of de.zalando.sprocwrapper.example.ComplexDate

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.