summaryrefslogtreecommitdiff
path: root/exchange/timezones.py
blob: b570e7ba7526a08028fcf80fcc5591a4d01e6653 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# vim: set filencoding=utf8
"""
Timezone Definitions

@author: Mike Crute (mcrute@gmail.com)
@organization: SoftGroup Interactive, Inc.
@date: April 26, 2009
"""

from datetime import tzinfo, timedelta


class EST(tzinfo):

    def tzname(self, dt):
        return "EST"

    def utcoffset(self, dt):
        return timedelta(0)

    dst = utcoffset