// Path: de.hatoka.common/src/main/java/de/hatoka/common/capi/resource/LocalizationConstants.java
// public class LocalizationConstants
// {
//     public static final String XML_DATEFORMAT_MILLIS = "yyyy-MM-dd'T'HH:mm:ss.SSSXXX";
//     public static final String XML_DATEFORMAT_SECONDS = "yyyy-MM-dd'T'HH:mm:ssXXX";
//     public static final String XML_DATEFORMAT_MINUTES = "yyyy-MM-dd'T'HH:mm";
// }


import java.text.SimpleDateFormat;
import java.util.Date;
import org.junit.Assert;
import org.junit.Test;
import de.hatoka.common.capi.resource.LocalizationConstants;
package de.hatoka.common.capi.business;




public class DateTest
{
    private static final long DATE_LONG = 1353829555000L;

    @Test
    public void testDateFormat() throws Exception
    {
// Path: de.hatoka.common/src/main/java/de/hatoka/common/capi/resource/LocalizationConstants.java
// public class LocalizationConstants
// {
//     public static final String XML_DATEFORMAT_MILLIS = "yyyy-MM-dd'T'HH:mm:ss.SSSXXX";
//     public static final String XML_DATEFORMAT_SECONDS = "yyyy-MM-dd'T'HH:mm:ssXXX";
//     public static final String XML_DATEFORMAT_MINUTES = "yyyy-MM-dd'T'HH:mm";
// }


// Path: de.hatoka.common/src/test/java/de/hatoka/common/capi/business/DateTest.java
import java.text.SimpleDateFormat;
import java.util.Date;
import org.junit.Assert;
import org.junit.Test;
import de.hatoka.common.capi.resource.LocalizationConstants;

package de.hatoka.common.capi.business;




public class DateTest
{
    private static final long DATE_LONG = 1353829555000L;

    @Test
    public void testDateFormat() throws Exception
    {
        Date date = new SimpleDateFormat(LocalizationConstants.XML_DATEFORMAT_SECONDS).parse("2012-11-25T07:45:55Z");