return intToListOfPairs((int) h, (int) m + 1, (int) s, (int) millis, (int) d, 0, 0);
}
public static Node external_delta_to_milliseconds(Node startAt) throws Exception {
startAt.isGoodArgsLength(true, 2);
Node anode = startAt.getSubNode(1, Node.TYPE_HASH);
long mps = 1000;
long mpm = mps * 60;
long mph = mpm * 60;
long mpd = mph * 24;
Hash hash=anode.getHash();
int h = getNumPairValueIfExists(0, hash, new Node(K_HOUR));
int m = getNumPairValueIfExists(0, hash, new Node(K_MINUTE));
int s = getNumPairValueIfExists(0, hash, new Node(K_SECOND));
int ms = getNumPairValueIfExists(0, hash, new Node(K_MILLIS));
int dd = getNumPairValueIfExists(0, hash, new Node(K_DAY));
int mm = getNumPairValueIfExists(0, hash, new Node(K_MONTH));
int yy = getNumPairValueIfExists(0, hash, new Node(K_YEAR));
if ((mm != 0)||(yy != 0)) {
throw new InterpreterException(StdErrors.extend(StdErrors.Invalid_parameter,"unreliable"));
}
return new Node(ms + (s * mps) + (m * mpm) + (h * mph) + (dd * mpd));
}