NAME

Biblio::ILL::ISO::ISODate

VERSION

Version 0.01

DESCRIPTION

Biblio::ILL::ISO::ISODate is a derivation of Biblio::ILL::ISO::ILLASNtype.

USES

Biblio::ILL::ISO::ILLString

USED IN

Biblio::ILL::ISO::ConditionalResults
Biblio::ILL::ISO::DateDue
Biblio::ILL::ISO::DateTime
Biblio::ILL::ISO::HistoryReport
Biblio::ILL::ISO::HoldPlacedResults
Biblio::ILL::ISO::RetryResults
Biblio::ILL::ISO::SearchType
Biblio::ILL::ISO::WillSupplyResults

FROM THE ASN DEFINITION

 ISO-Date ::= VisibleString
	-- conforms to ISO 8601
	-- length = 8
	-- fixed
	-- YYYYMMDD

METHODS

new( $datestring )

Creates a new ISODate object. Expects a properly formatted date string (YYYYMMDD).

new( $datestring )

Sets the object's value. Expects a properly formatted date string (YYYYMMDD).

as_string( )

Returns a stringified representation of the object.

as_pretty_string( )

Returns a more-formatted stringified representation of the object.

as_asn( )

Returns a structure usable by Convert::ASN1. Generally only called from the parent's as_asn() method (or encode() method for top-level message-type objects).

SEE ALSO

See the README for system design notes. See the parent class(es) for other available methods.

For more information on Interlibrary Loan standards (ISO 10160/10161), a good place to start is:

http://www.nlc-bnc.ca/iso/ill/main.htm

AUTHOR

David Christensen, <DChristensenSPAMLESS@westman.wave.ca>

COPYRIGHT AND LICENSE

Copyright 2003 by David Christensen

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.