@Override
public ITime asTime() throws RepositoryException {
try {
return new MockDmTime(value.getDate().getTime());
} catch (ValueFormatException e) {
throw new RepositoryException(e);
} catch (IllegalStateException e) {
throw new RepositoryException(e);
} catch (javax.jcr.RepositoryException e) {
throw new RepositoryException(e);
}
}