msiGetDiffTime ( msParam_t *  inpParam1,
msParam_t *  inpParam2,
msParam_t *  inpParam3,
msParam_t *  outParam,
ruleExecInfo_t *  rei 
)
Description:
This microservice returns the difference between two system times
Module:
framework
Since:
2.1
Author:
Antoine de Torcy
Date:
2007-09-19
Note:
If we have arithmetic MSs in the future we should use DOUBLE_MS_T instead of strings. Default output format is in seconds, use 'human' as the third input param for human readable format.
Example Usage:
See clients/icommands/test/rules3.0/
Parameters:
[in] inpParam1 - a STR_MS_T containing the start date (system time in seconds)
[in] inpParam2 - a STR_MS_T containing the end date (system time in seconds)
[in] inpParam3 - Optional - a STR_MS_T containing the desired output format
[out] outParam - a STR_MS_T containing the time elapsed between the two dates
[in,out] rei - The RuleExecInfo structure that is automatically handled by the rule engine. The user does not include rei as a parameter in the rule invocation.
Session Variables Used:
none
Session Variables Modified:
none
iCAT Attributes Used:
none
iCAT Attributes Modified:
none
Side Effect:
none
Returns:
integer
Return values:
0 on success
Precondition:
none
Postcondition:
none
See also:
none

Definition at line 1199 of file nre.systemMS.c.

Generated on Thu Oct 31 10:19:17 2013 for iRODS Documentation by  doxygen 1.6.3