Hämta källkodspaketet egenix-mx-base:
mxDateTime is an extension package that provides three new object types, DateTime, DateTimeDelta and RelativeDateTime, which let you store and handle date/time values in a much more natural way than by using ticks (seconds since 1.1.70 0:00 UTC; the encoding used by the time module).
You can add, subtract and even multiply instances, pickle and copy them and convert the results to strings, COM dates, ticks and some other more esoteric values. In addition, there are several convenient constructors and formatters at hand to greatly simplify dealing with dates and times in real-world applications.
In addition to providing an easy-to-use Python interface the package also exports a comfortable C API interface for other extensions to build upon. This is especially interesting for database applications which often have to deal with date/time values.
|
|
|
| Arkitektur | Paketstorlek | Installerad storlek | Filer |
|---|---|---|---|
| alpha | 126,1 kbyte | 600 kbyte | [filförteckning] |
| amd64 | 124,7 kbyte | 588 kbyte | [filförteckning] |
| arm | 122,0 kbyte | 572 kbyte | [filförteckning] |
| hppa | 129,8 kbyte | 600 kbyte | [filförteckning] |
| i386 | 120,3 kbyte | 460 kbyte | [filförteckning] |
| ia64 | 147,1 kbyte | 704 kbyte | [filförteckning] |
| mips | 123,8 kbyte | 600 kbyte | [filförteckning] |
| mipsel | 123,7 kbyte | 600 kbyte | [filförteckning] |
| powerpc | 127,0 kbyte | 600 kbyte | [filförteckning] |
| s390 | 125,0 kbyte | 580 kbyte | [filförteckning] |
| sparc | 122,4 kbyte | 592 kbyte | [filförteckning] |