浏览代码

* moved SInvalidJulianDate from rtlconst to sysconst (part of r15032,
necessary because dateutils only depends on sysconst and it contains
the julian-datetime helper routines)

git-svn-id: trunk@15033 -

Jonas Maebe 15 年之前
父节点
当前提交
4303eda80c
共有 2 个文件被更改,包括 1 次插入1 次删除
  1. 0 1
      rtl/objpas/rtlconst.inc
  2. 1 0
      rtl/objpas/sysconst.pp

+ 0 - 1
rtl/objpas/rtlconst.inc

@@ -158,7 +158,6 @@ ResourceString
   SInvalidImage                 = 'Invalid stream format';
   SInvalidImage                 = 'Invalid stream format';
   SInvalidImageList             = 'Invalid ImageList';
   SInvalidImageList             = 'Invalid ImageList';
   SInvalidImageSize             = 'Invalid image size';
   SInvalidImageSize             = 'Invalid image size';
-  SInvalidJulianDate            = '%f Julian cannot be represented as a DateTime';
   SInvalidMask                  = '"%s" is not a valid mask at (%d)';
   SInvalidMask                  = '"%s" is not a valid mask at (%d)';
   SInvalidMemoSize              = 'Text larger than memo capacity';
   SInvalidMemoSize              = 'Text larger than memo capacity';
   SInvalidMetafile              = 'Invalid Metafile';
   SInvalidMetafile              = 'Invalid Metafile';

+ 1 - 0
rtl/objpas/sysconst.pp

@@ -41,6 +41,7 @@ resourcestring
   SErrInvalidDayOfWeekInMonth = 'Year %d Month %d NDow %d DOW %d is not a valid date';
   SErrInvalidDayOfWeekInMonth = 'Year %d Month %d NDow %d DOW %d is not a valid date';
   SErrInvalidDayOfYear   = 'Year %d does not have a day number %d';
   SErrInvalidDayOfYear   = 'Year %d does not have a day number %d';
   SErrInvalidTimeStamp   = 'Invalid date/timestamp : "%s"';
   SErrInvalidTimeStamp   = 'Invalid date/timestamp : "%s"';
+  SInvalidJulianDate            = '%f Julian cannot be represented as a DateTime';
   SErrIllegalDateFormatString   = '"%s" is not a valid date format string';
   SErrIllegalDateFormatString   = '"%s" is not a valid date format string';
   SErrInvalidTimeFormat  = '"%s" is not a valid time';
   SErrInvalidTimeFormat  = '"%s" is not a valid time';
   SExceptionErrorMessage = 'exception at %p';
   SExceptionErrorMessage = 'exception at %p';