summaryrefslogtreecommitdiff
path: root/exchange/timezones.py
blob: eefbe8eb47ce2bc08a8f96bc9d8eda60a82d7713 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# -*- coding: utf-8 -*-
"""
Timezone Definitions

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

$Id$
"""
from datetime import tzinfo, timedelta


class EST(tzinfo):

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

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

    dst = utcoffset