isDateTimeValid method

bool isDateTimeValid()

Indicates whether the date and time are valid.

return true if date and time is valid. throws BiosealException An error has occurred during Bioseal Library execution.

Implementation

bool isDateTimeValid() {
  Pointer<Bool> pResult = calloc();
  try {
    var err = biosealSDK.id3BiosealDateTime_IsDateTimeValid(_pHandle.value, pResult);
    if (err != BiosealError.success.value) {
      throw BiosealException(err);
    }
    final vResult = pResult.value;
    return vResult;
  } finally {
    calloc.free(pResult);
  }
}