return listOfPairs;
}
private static Node intToListOfPairs(int h, int m, int s, int ms, int dd, int mm, int yy) throws Exception {
Node listOfPairs = Node.createHash();
Hash hash=listOfPairs.getHash();
if (dd != 0)
hash.store(new Node(K_DAY), new Node(dd));
if (mm != 0)
hash.store(new Node(K_MONTH), new Node(mm));
if (yy != 0)
hash.store(new Node(K_YEAR), new Node(yy));
if (h != 0)
hash.store(new Node(K_HOUR), new Node(h));
if (m != 0)
hash.store(new Node(K_MINUTE), new Node(m + 1));
if (s != 0)
hash.store(new Node(K_SECOND), new Node(s));
if (ms != 0)
hash.store(new Node(K_MILLIS), new Node(ms));
if (listOfPairs.size() == 0)
hash.store(new Node(K_MILLIS), new Node(ms));
return listOfPairs;
}