getDate static method

DateTime getDate(
  1. Uint8List bytes
)

Implementation

static DateTime getDate(Uint8List bytes) {
  BigInt bi = _readBytes(bytes);
  int pwdLastSet = bi.toInt();
  int javaTime = pwdLastSet - 116444736000000000;
  javaTime = (javaTime / 10000).toInt();
  return new DateTime(javaTime);
}