from datetime import datetime
import time


class ISOTime(object):
    def __init__(self, date, gmt_offset):
        self.__date = date
        self.__gmt_offset = gmt_offset

    @classmethod
    def now(cls, now_fn=datetime.now, time=time):
        gmt_offset = time.altzone if time.daylight else time.timezone
        return cls(date=now_fn(), gmt_offset=gmt_offset)

    @property
    def as_str(self):
        return (
            self.__date.isoformat()[:-3] +
            '{:+05}'.format(self.__gmt_offset / -36))

5cb786e875bd33df5b59b89e3db2003c87c2fd21
<mask token>


class ISOTime(object):
    <mask token>

    @classmethod
    def now(cls, now_fn=datetime.now, time=time):
        gmt_offset = time.altzone if time.daylight else time.timezone
        return cls(date=now_fn(), gmt_offset=gmt_offset)
    <mask token>

<mask token>


class ISOTime(object):
    <mask token>

    @classmethod
    def now(cls, now_fn=datetime.now, time=time):
        gmt_offset = time.altzone if time.daylight else time.timezone
        return cls(date=now_fn(), gmt_offset=gmt_offset)

    @property
    def as_str(self):
        return self.__date.isoformat()[:-3] + '{:+05}'.format(self.
            __gmt_offset / -36)

<mask token>


class ISOTime(object):

    def __init__(self, date, gmt_offset):
        self.__date = date
        self.__gmt_offset = gmt_offset

    @classmethod
    def now(cls, now_fn=datetime.now, time=time):
        gmt_offset = time.altzone if time.daylight else time.timezone
        return cls(date=now_fn(), gmt_offset=gmt_offset)

    @property
    def as_str(self):
        return self.__date.isoformat()[:-3] + '{:+05}'.format(self.
            __gmt_offset / -36)

from datetime import datetime
import time


class ISOTime(object):

    def __init__(self, date, gmt_offset):
        self.__date = date
        self.__gmt_offset = gmt_offset

    @classmethod
    def now(cls, now_fn=datetime.now, time=time):
        gmt_offset = time.altzone if time.daylight else time.timezone
        return cls(date=now_fn(), gmt_offset=gmt_offset)

    @property
    def as_str(self):
        return self.__date.isoformat()[:-3] + '{:+05}'.format(self.
            __gmt_offset / -36)

from datetime import datetime
import time


class ISOTime(object):
    def __init__(self, date, gmt_offset):
        self.__date = date
        self.__gmt_offset = gmt_offset

    @classmethod
    def now(cls, now_fn=datetime.now, time=time):
        gmt_offset = time.altzone if time.daylight else time.timezone
        return cls(date=now_fn(), gmt_offset=gmt_offset)

    @property
    def as_str(self):
        return (
            self.__date.isoformat()[:-3] +
            '{:+05}'.format(self.__gmt_offset / -36))
