Changeset 20595 for trunk/psLib/src/astro/psTime.c
- Timestamp:
- Nov 8, 2008, 2:30:07 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/astro/psTime.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astro/psTime.c
r19737 r20595 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1.11 6$ $Name: not supported by cvs2svn $13 * @date $Date: 2008- 09-24 20:04:32$12 * @version $Revision: 1.117 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2008-11-09 00:30:07 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 1391 1391 1392 1392 // Check valid year range 1393 if ((time->sec) < ((psS64)YEAR_0000_SEC) || (time->sec) > ((psS64)YEAR_9999_SEC)) { 1394 psError(PS_ERR_BAD_PARAMETER_VALUE, true, "Error: %s, %" PRId64 ", is out of range. Must be between %" PRId64 " and %" PRId64 ".", "time->sec", time->sec, ((psS64)YEAR_0000_SEC), ((psS64)YEAR_9999_SEC)); 1395 return NULL; 1396 } 1397 1393 1398 PS_ASSERT_S64_WITHIN_RANGE(time->sec, (psS64)YEAR_0000_SEC, (psS64)YEAR_9999_SEC, NULL); 1394 1399
Note:
See TracChangeset
for help on using the changeset viewer.
