drmIsExpired static method
Implementation
static bool drmIsExpired(int from, int to) {
if (from == 0 || to == mobiNotSet) {
return false;
}
final now = (DateTime.now().millisecondsSinceEpoch / 60000).floor();
if (now < from || now > to) {
return true;
}
return false;
}