@Override
public DateTime create( String value ) throws ValueFormatException {
DateTime result = valueFactory.create(value);
// Convert the timestamp to UTC, since that's how everything should be queried ...
return result.toUtcTimeZone();
}
};
this.pathFactory = new Factory<Path>(valueFactories.getPathFactory());
this.nameFactory = new Factory<Name>(valueFactories.getNameFactory());
this.referenceFactory = new Factory<Reference>(valueFactories.getReferenceFactory());