From 7690bcb4cce4ea6cb4ca841013b469a091162a04 Mon Sep 17 00:00:00 2001 From: mjjo Date: Thu, 28 Jul 2016 21:47:22 +0900 Subject: [PATCH] =?UTF-8?q?blacklist=205=EB=B6=84=20=EA=B2=80=EC=82=AC=20?= =?UTF-8?q?=ED=95=A8=EC=88=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ULDataMgr.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ULDataMgr.cs b/ULDataMgr.cs index 0ecc5c2..9ae566c 100644 --- a/ULDataMgr.cs +++ b/ULDataMgr.cs @@ -115,9 +115,9 @@ namespace upper_limit_crawler m_BlackList.Add(black); } - bool IsIn5Min(int iTime, int iCurTime) + bool IsIn5Min(int iTime1, int iTime2) { - return (iTime >= iCurTime - 500); + return DateTime.ParseExact(iTime1.ToString(), "HHmmss", null) > DateTime.ParseExact(iTime2.ToString(), "HHmmss", null) - TimeSpan.ParseExact("05", "mm", null); } public bool IsInBlackList(int iTime, string strCode)