'Calculates the utcoffset according to the datetime.tzinfo spec'

def utcoffset(self, dt):

    if (dt is None):
        return
    winInfo = self.getWinInfo(dt.year)
    return (- (winInfo.bias + self.dst(dt)))
