ATLAS Offline Software
Loading...
Searching...
No Matches
AtlRunQueryQueryConfig.py
Go to the documentation of this file.
1# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
2
3import time
4
5class QC:
6 localtime = True
7 timezone = ('CET','CEST')
8 datapath = ''
9
10 @classmethod
11 def tzdesc(cls):
12 return QC.timezone[1] if QC.localtime else 'UTC'
13
14 @classmethod
15 def settimezone(cls):
16 time.tzname = QC.timezone
17
18 @classmethod
19 def localStr(cls):
20 return "local" if QC.localtime else 'UTC'
21
22