Strict Standards: Non-static method Soojung::addReferer() should not be called statically in /home/lifthrasiir/sites/sapzil.info/soojung/settings.php on line 79

Warning: Cannot modify header information - headers already sent by (output started at /home/lifthrasiir/sites/sapzil.info/soojung/settings.php:79) in /home/lifthrasiir/sites/sapzil.info/soojung/classes/Counter.class.php on line 63

Strict Standards: Non-static method Entry::getEntry() should not be called statically in /home/lifthrasiir/sites/sapzil.info/soojung/entry.php on line 51

Strict Standards: Non-static method Soojung::entryIdToFilename() should not be called statically in /home/lifthrasiir/sites/sapzil.info/soojung/classes/Entry.class.php on line 182

Strict Standards: Non-static method Soojung::queryFilenameMatch() should not be called statically in /home/lifthrasiir/sites/sapzil.info/soojung/classes/Soojung.class.php on line 55
TokigunStudio3 | 블로그: transdate 0.2 released

내용으로 바로 넘어 가기


TokigunStudio3

228 / 3282   


더 이상 이 블로그는 운영되지 않습니다. 새 블로그로 가 주세요.

transdate 0.2 released

2004/09/25 PM 08:02 | 개발/파이썬 | 0 comments | 0 trackbacks | AllBlog: vote, to pocket

주소는 저번과 같음.

이번에 추가된 것은 transdate.lunardate 클래스 지원. datetime.date와 최대한 비슷하게 구현하려 별 개 삽질을 다 했다. (심지어 singleton class도 만들고 별 GR을 했군;) 아무튼 만들고 보니까 괜찮네... ;)

transdate.lunardate 클래스의 주요 기능:

- datetime.date와 완전히 같은 사용법 지원
- datetime.date, datetime.timedelta와 함께 사용할 수 있음 (연산자 오버로딩까지 처리)
- str, repr 함수 처리
- 그 정도... 쯤? ;;;

다음 버전(0.3)에서는:

- 테이블들을 최대한 작게 줄일 생각. _table_days, _table_months는 유니코드 문자열, _table_leap는 그냥 문자열로... pyc 크기가 많이 줄어 들겠군.
- 십이간지 등의 처리를 가능하게 고침.
- 테스트 코드 마구 추가
- docstring 마구 추가

TrackBack URL: http://sapzil.info/soojung/trackback.php?blogid=27

Copyright (c) 1995-2005, Kang Seonghoon (Tokigun).