]> git.evergreen-ils.org Git - Evergreen.git/commit
New function oilsUtilsIntervalToSeconds() to translate a string into a
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 6 Jun 2010 01:54:31 +0000 (01:54 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 6 Jun 2010 01:54:31 +0000 (01:54 +0000)
commit9f09ddb4a64d67579a389d42262ee50c2adbf427
tree4d30a3a8705b57961671a873ff780c1962a6b978
parentfd6fec5fc8c88b2d166ea252dec12db2b7586a7e
New function oilsUtilsIntervalToSeconds() to translate a string into a
number representing the number of seconds in an interval of time.

Simple integers are converted directly.  Anything else is passed to
PostgreSQL to be translated as an interval string.

M    Open-ILS/include/openils/oils_utils.h
M    Open-ILS/src/c-apps/oils_utils.c

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16602 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/include/openils/oils_utils.h
Open-ILS/src/c-apps/oils_utils.c