Code example for Date

0
    @SmallTest 
    @MediumTest 
    @LargeTest 
    public void testParsedTimes() throws JSONException { 
        OpenGraphObject parsedObject = getParsedObject();
        assertEquals(new Date(1367345897000L), parsedObject.getCreatedTime());
        assertEquals(new Date(1367345897000L), parsedObject.getUpdatedTime());
    } 
 
    @SmallTest 
    @MediumTest 
    @LargeTest 
    public void testParsedApplication() throws JSONException { 
        OpenGraphObject parsedObject = getParsedObject();
        GraphObject application = parsedObject.getApplication();
        assertEquals("Awesome App", application.getProperty("name"));
    } 
 
    @SmallTest 
    @MediumTest 
    @LargeTest