擅长:python、mysql、java
<p><a href="http://docs.python.org/library/datetime.html#tzinfo-objects" rel="noreferrer">^{<cd1>}</a>类只定义一个接口,您需要自己实现它(参见文档中的示例)或使用实现它的第三方模块,如<a href="http://pytz.sourceforge.net/" rel="noreferrer">^{<cd2>}</a>。</p>
<p><strong>编辑</strong>:对不起,我错过了您不想导入另一个库的消息。</p>