浏览代码

Comment on TimeTo... functions

Source commit: c70018df3d72d027e4338005e6e825c5a14ca4dd
Martin Prikryl 1 月之前
父节点
当前提交
a23c4eeb2d
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      source/core/Common.h

+ 1 - 0
source/core/Common.h

@@ -284,6 +284,7 @@ UnicodeString __fastcall FormatTimeZone(long Sec);
 UnicodeString __fastcall GetTimeZoneLogString();
 bool __fastcall AdjustClockForDSTEnabled();
 int __fastcall CompareFileTime(TDateTime T1, TDateTime T2);
+// All three to be used for "short" times only (basically for times that should have been time spans)
 int __fastcall TimeToMSec(TDateTime T);
 int __fastcall TimeToSeconds(TDateTime T);
 int __fastcall TimeToMinutes(TDateTime T);