public QDateTime ToZoneTime(QDateTime utcDateTime, ref bool secondOccurrence)
{
StackItem[] stack = new StackItem[3];
#if DEBUG
stack[1].s_class = (IntPtr) DebugGCHandle.Alloc(utcDateTime);
#else
stack[1].s_class = (IntPtr) GCHandle.Alloc(utcDateTime);
#endif
stack[2].s_bool = secondOccurrence;
interceptor.Invoke("toZoneTime#$", "toZoneTime(const QDateTime&, bool*) const", stack);
#if DEBUG
DebugGCHandle.Free((GCHandle) stack[1].s_class);
#else
((GCHandle) stack[1].s_class).Free();
#endif
secondOccurrence = stack[2].s_bool;
object returnValue = ((GCHandle) stack[0].s_class).Target;
#if DEBUG
DebugGCHandle.Free((GCHandle) stack[0].s_class);
#else
((GCHandle) stack[0].s_class).Free();
#endif
return (QDateTime) returnValue;
}