To specify an offset as a retention value, use a standard expression that conforms to this syntax:
^A([+-]\d+y)?([+-]\d+M)?([+-]\d+w)?([+-]\d+d)?([+-]\d+h)?([+-]\d+m)?([+-]\d+s)?$
The table below explains this syntax.
Character |
Description |
---|---|
^ |
Start of the expression |
$ |
End of the expression |
( ) |
Sequence of terms treated as a single term |
? |
Indicator that the preceding term is optional |
[ ] |
Group of alternatives, exactly one of which must be used |
+ |
Plus |
- |
Minus |
A |
The time at which the object was added to the repository |
/d+ |
An integer in the range 0 (zero) through 9,999 |
y |
Years |
M |
Months |
W |
Weeks |
D |
Days |
h |
Hours |
m |
Minutes |
s |
Seconds |
The time measurements included in an expression must go from the largest unit to the smallest (that is, in the order in which they appear in the syntax). These measurements are case sensitive. You can omit measurements that have value of zero.
Here are some offset examples:
A+100y
A+20d-5h
A+2y+1d
© 2015 Hitachi Data Systems Corporation. All rights reserved.