Beispiel #1
0
def timezone_open(interp, timezone_name):
    w_datetimezone = W_DateTimeZone(k_DateTimeZone, [])
    success = common.initialize_timezone(interp, "timezone_open",
                                         w_datetimezone, timezone_name, True)

    if success:
        return w_datetimezone
    return interp.space.w_False
Beispiel #2
0
def timezone_open(interp, timezone_name):
    w_datetimezone = W_DateTimeZone(k_DateTimeZone, [])
    success = common.initialize_timezone(
        interp, "timezone_open", w_datetimezone, timezone_name, True)

    if success:
        return w_datetimezone
    return interp.space.w_False
Beispiel #3
0
def construct(interp, this, timezone_name):
    common.initialize_timezone(interp, "DateTimeZone::__construct", this, timezone_name)
Beispiel #4
0
def construct(interp, this, timezone_name):
    common.initialize_timezone(interp, "DateTimeZone::__construct", this, timezone_name)