namespace Jiaowu.Api.Infrastructure.Exams;

public static class ExamConflictRules
{
    public static bool TimeOverlaps(
        DateTime firstStart,
        DateTime firstEnd,
        DateTime secondStart,
        DateTime secondEnd) =>
        firstStart < secondEnd && secondStart < firstEnd;
}
