calcLogEntryAtTime method
Implementation
int? calcLogEntryAtTime(DateTime time) {
final interestKey = logSubEntryIdOfTime.lastKeyBefore(time.microsecondsSinceEpoch);
if (interestKey == null) return null;
final logSubEntryId = logSubEntryIdOfTime[interestKey];
final logEntryId = logEntryIdOfLogSubEntry[logSubEntryId];
return logEntryId;
}