    @Test(groups = "fast")
    public void testGetValue() throws Exception
    {

        System.setProperty("user.timezone", "UTC");

        // Compare Epoch
        Assert.assertEquals(new DateTimeParameter(null).getValue().toDateTime(DateTimeZone.UTC).getMillis() / 1000, new DateTime(DateTimeZone.UTC).getMillis() / 1000);

        Assert.assertEquals(new DateTimeParameter("2012").getValue().getChronology().getZone(), DateTimeZone.UTC);

        Assert.assertEquals(new DateTimeParameter("2012").getValue().toDateTime(DateTimeZone.UTC), ISO_DATE.parseDateTime("2012-01-01T00:00:00.0Z"));
        Assert.assertEquals(new DateTimeParameter("2012-03").getValue().toDateTime(DateTimeZone.UTC), ISO_DATE.parseDateTime("2012-03-01T00:00:00.0Z"));
        Assert.assertEquals(new DateTimeParameter("2012-03-21").getValue().toDateTime(DateTimeZone.UTC), ISO_DATE.parseDateTime("2012-03-21T00:00:00.0Z"));
        Assert.assertEquals(new DateTimeParameter("2012-03-21T12:42").getValue().toDateTime(DateTimeZone.UTC), ISO_DATE.parseDateTime("2012-03-21T12:42:00.0Z"));
        Assert.assertEquals(new DateTimeParameter("2012-03-21T15:31:06.126Z").getValue(), ISO_DATE.parseDateTime("2012-03-21T15:31:06.126Z"));

        Assert.assertEquals(new DateTimeParameter("2012-03-21T05:33:05.966-10:00").getValue(), ISO_DATE.parseDateTime("2012-03-21T05:33:05.966-10:00"));
    }