379380381382383384385386387388389
n = (webEvents != null) ? webEvents.count() : 0; for (i = 0, time = 0; i < n; i++) { EOEvent e = (EOEvent) webEvents.objectAtIndex(i); if (e instanceof WOEvent) time = time + (int) e.durationWithoutSubevents(); } return time; }
395396397398399400401402403404405
n = (eofEvents != null) ? eofEvents.count() : 0; for (i = 0, time = 0; i < n; i++) { EOEvent e = (EOEvent) eofEvents.objectAtIndex(i); if (!(e instanceof WOEvent)) time = time + (int) e.durationWithoutSubevents(); } return time; }