if (createSequence.getExpires() != null) {
s.expires = convertToLocalTime(createSequence.getExpires());
}
sequenceStore.create(s);
CreateSequenceResponseType response = new CreateSequenceResponseType();
response.setIdentifier(s.getIdentifier());
if (s.expires != 0) {
response.setExpires(convertToDuration(s.expires));
}
return response;
}