[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MirageOS-devel] [ANN] Ptime 0.8.0



Hello,   

It's my pleasure to announce the first release of Ptime, described by:

 Ptime has platform independent POSIX time support in pure OCaml.  
 It provides a type to represent a well-defined range of POSIX timestamps
 with picosecond precision, conversion with date-time values, conversion  
 with RFC 3339 timestamps and pretty printing to a human-readable,  
 locale-independent representation.

 The additional Ptime_clock library provides access to a system POSIX  
 clock and to the system's current time zone offset.  

 Ptime is not a calendar library.

 Ptime depends on the `result` compatibility package. Ptime_clock depends  
 on your system library. Ptime_clock's optional JavaScript support depends  
 on js_of_ocaml. Ptime and its libraries are distributed under the BSD3 license.


Homepage: http://erratique.ch/software/ptime
API docs: http://erratique.ch/software/ptime/doc/


As usual feedback on the API is welcome and could still slightly change before 
stabilizing on a 1.0.0 release.

Thanks to Matt Gray for a suggestion about the system time zone offset API that 
led to better handling of unknown timezone offsets in the library (RFC 3339 has 
a convention to represent them).

Finally my thanks to RaphaÃl Proust who provided lodging while this was being 
worked on this summer.

Happy 1451606400,

Daniel

P.S. The package has been tested on Darwin, Linux 32-bit and 64-bit, it 
hopefully works on other posix compliant unices out of the box, report if not. 
Ptime_clock is not yet supported on Windows. It will be at some point; 
contributions to make that a smaller timestamp are welcome.  









_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.