createDateTime static method

IPropertyValue createDateTime(
  1. DateTime value
)

Implementation

static IPropertyValue createDateTime(DateTime value) {
  final activationFactory =
      CreateActivationFactory(_className, IID_IPropertyValueStatics);

  try {
    return IPropertyValueStatics.fromRawPointer(activationFactory)
        .createDateTime(value);
  } finally {
    free(activationFactory);
  }
}