~ubuntu-branches/ubuntu/trusty/python-tz/trusty-updates

« back to all changes in this revision

Viewing changes to pytz/zoneinfo/GMT0.py

  • Committer: Bazaar Package Importer
  • Author(s): Brian Sutherland
  • Date: 2005-02-08 02:14:33 UTC
  • Revision ID: james.westby@ubuntu.com-20050208021433-t6c9teignwsm2ywo
Tags: upstream-2005a
ImportĀ upstreamĀ versionĀ 2005a

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
'''tzinfo timezone information for GMT0.'''
 
2
from pytz.tzinfo import StaticTzInfo
 
3
from pytz.tzinfo import memorized_timedelta as timedelta
 
4
 
 
5
class GMT0(StaticTzInfo):
 
6
    '''GMT0 timezone definition. See datetime.tzinfo for details'''
 
7
    _zone = 'GMT0'
 
8
    _utcoffset = timedelta(seconds=0)
 
9
    _tzname = 'GMT'
 
10
 
 
11
GMT0 = GMT0()
 
12