[OAI-implementers] Behavior when FROM and UNTIL are identical
Simeon Warner
simeon at cs.cornell.edu
Tue Dec 2 16:14:34 EST 2008
Bryce Nesbitt wrote:
> Dear List,
>
> I'm working on the oai 2.0 implementation for the Berkeley Electronic
> Press (which is an archive, not a harvester). I'd like to verify
> something about the spec, if you have a moment to think about it. If
> we get a request for:
>
> verb=ListRecords&from=2008-11-20&until=2008-11-20
>
> We implicitly treat the "from" as the start of the day, and the "end"
> as the end of the day. e.g. 2008-11-20 00:00:00 <= date < 2008-11-21
> 00:00:00. Is this correct?
The "from" and "until" parameters are inclusive so I think your translation to
return all things with date portion 2008-11-20 is correct.
Cheers,
Simeon.
> The relevant spec is at
> http://www.openarchives.org/OAI/openarchivesprotocol.html#Datestamp
>
> Bryce Nesbitt
> Berkeley Electronic Press
>
> _______________________________________________
> OAI-implementers mailing list
> List information, archives, preferences and to unsubscribe:
> http://www.openarchives.org/mailman/listinfo/oai-implementers
>
More information about the OAI-implementers
mailing list