getDay method

int getDay()

Gets the the day (1 through the number of days in month).

return The day (1 through the number of days in month). throws BiosealException An error has occurred during Bioseal Library execution.

Implementation

int getDay() {
  Pointer<Int> pDay = calloc();
  try {
    var err = biosealSDK.id3BiosealDateTime_GetDay(_pHandle.value, pDay);
    if (err != BiosealError.success.value) {
      throw BiosealException(err);
    }
    final vDay = pDay.value;
    return vDay;
  } finally {
    calloc.free(pDay);
  }
}