is.setDate(Timestamp.valueOf(img.getCreated()));
is.setDate(PrimitiveTypesMapper.getTimestamp(img.getCreated()));
    static ImageSummary buildImageSummary(Image img, ImageSummary is)    {        Pixels px;        px = img.getDefaultPixels();        is.setID(img.getID());        is.setName(img.getName());        is.setPixelsIDs(fillListPixelsID(px));        is.setDate(Timestamp.valueOf(img.getCreated()));        //is.setImageServerPixelsID(fillListPixelsID(px));        return is;    }