createTimeSpan static method
Implementation
static IPropertyValue createTimeSpan(Duration value) {
final activationFactoryPtr =
CreateActivationFactory(_className, IID_IPropertyValueStatics);
final object = IPropertyValueStatics.fromRawPointer(activationFactoryPtr);
try {
return object.createTimeSpan(value);
} finally {
object.release();
}
}