class LookupResourceConverter extends ResourceConverterImpl<ResourceLookup, ClientResourceLookup> {

    @Override
    protected ClientResourceLookup resourceSpecificFieldsToClient(ClientResourceLookup client, ResourceLookup serverObject, ToClientConversionOptions options) {
        final DateFormat dateTimeFormatter = getDateTimeFormat();
        return client.setResourceType(toClientResourceType(serverObject.getResourceType())).setLastAccessTime(serverObject.getLastAccessTime() != null ?
        dateTimeFormatter.format(serverObject.getLastAccessTime()) : null);
    }

}