2 * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.yangtools.util;
11 * Utility holder for a duration/time of occurance.
13 final class DurationWithTime {
14 private final long duration;
15 private final long timeMillis;
17 DurationWithTime(final long duration, final long timeMillis) {
18 this.duration = duration;
19 this.timeMillis = timeMillis;
26 long getTimeMillis() {