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

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

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


class EST(tzinfo):

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

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

    dst = utcoffset