Пример #1
0
 private static bool CheckFirstAndLast( FileMetadata first, FileMetadata second )
 {
     return Math.Abs( ( first.CreationTime - second.CreationTime ).TotalMinutes ) < s_maxPhotoDifference * s_minFilesInSecuence;
 }
Пример #2
0
 private static bool AreClosedDates( FileMetadata first, FileMetadata second )
 {
     return Math.Abs( ( first.CreationTime - second.CreationTime ).TotalMinutes ) < s_maxPhotoDifference;
 }