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.
|
|
|
| 硬件架构 | 软件包大小 | 安装后大小 | 文件 |
|---|---|---|---|
| alpha | 126.1 kB | 600 kB | [文件列表] |
| amd64 | 124.7 kB | 588 kB | [文件列表] |
| arm | 122.0 kB | 572 kB | [文件列表] |
| hppa | 129.8 kB | 600 kB | [文件列表] |
| i386 | 120.3 kB | 460 kB | [文件列表] |
| ia64 | 147.1 kB | 704 kB | [文件列表] |
| mips | 123.8 kB | 600 kB | [文件列表] |
| mipsel | 123.7 kB | 600 kB | [文件列表] |
| powerpc | 127.0 kB | 600 kB | [文件列表] |
| s390 | 125.0 kB | 580 kB | [文件列表] |
| sparc | 122.4 kB | 592 kB | [文件列表] |