NAME
DAIA::Unavailable - Information about a service that is currently unavailable
DESCRIPTION
This class is derived from DAIA::Availability - see that class for details. In addition there are the properties expected
and queue
. Obviously the status
property of a DAIA::Unavailable
object is always 0
.
PROPERTIES
- href
- limitation
- message
- queue
-
The number of waiting requests for this service as non-negative integer value. Note that the value
0
is also allowed but in practise there is litte difference between no queue and a queue of length zero. - expected
-
An optional time period until the service will be available again. The property is given as ISO time period string (as XML Schema subset xs:date or xs:dateTime) or the special value "unknown". If no period (nor "unknown") is given, the service probably won't be available in the future.
FUNCTIONS
normalize_date ( $date-or-datetime )
Returns a canonical xs:date or xs:dateTime value or undef. Can can pass a DateTime object or a string that will be parsed with the parse_datetime method of DateTime::Format::ISO8601.
AUTHOR
Jakob Voss <jakob.voss@gbv.de>
LICENSE
Copyright (C) 2009 by Verbundzentrale Goettingen (VZG) and Jakob Voss
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.