diff options
author | Alvaro Videla <[email protected]> | 2009-12-25 16:58:47 +0800 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-02-14 12:15:09 +0100 |
commit | 242c70ed5f0e2b84e9608bace183052e745614ed (patch) | |
tree | ea2d08efe827b4fe49c482d95c1d4a6aeb255519 /lib/hipe | |
parent | e99ec8e235beb16d35e5a940b814061fb87db989 (diff) | |
download | otp-242c70ed5f0e2b84e9608bace183052e745614ed.tar.gz otp-242c70ed5f0e2b84e9608bace183052e745614ed.tar.bz2 otp-242c70ed5f0e2b84e9608bace183052e745614ed.zip |
New rb:filter/2 to filter reports by date
The function filter/2 expects a second parameter
Dates that can be used to return reports that
occurred between the provided dates.
Usage:
Dec22 = {{2009,12,22},{0,0,0}}.
Dec24 = {{2009,12,24},{0,0,0}}.
rb:filter(Filters, {Dec22, from}).
%will return reports that occurred from Dec22.
rb:filter(Filters, {Dec22, to}).
%will return reports that occurred before Dec22.
rb:filter(Filters, {Dec22, Dec24}).
%will return reports that occurred between Dec22
% and Dec24
Diffstat (limited to 'lib/hipe')
0 files changed, 0 insertions, 0 deletions