Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import java.math.BigInteger;

public class Main {
    public static int compareTimestamps(String lhsTimestamp, String rhsTimestamp) {
        BigInteger lhs = new BigInteger(lhsTimestamp);
        BigInteger rhs = new BigInteger(rhsTimestamp);
        return lhs.compareTo(rhs);
    }
}