Changeset 1ba7fb9 for core


Ignore:
Timestamp:
Apr 17, 2018 1:28:47 PM (2 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
d621e19
Parents:
d02b71a
Message:

BuildTime?: Update, add to cmd line tools

Location:
core/java/src/net/i2p
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/time/BuildTime.java

    rd02b71a r1ba7fb9  
    3535    private static final long YEARS_25 = 25L*365*24*60*60*1000;
    3636    /** update this periodically */
    37     private static final String EARLIEST = "2017-10-11 12:00:00 UTC";
     37    private static final String EARLIEST = "2018-04-17 12:00:00 UTC";
    3838    // fallback if parse fails ticket #1976
    3939    // date -d 201x-xx-xx +%s
    40     private static final long EARLIEST_LONG = 1507694400 * 1000L;
     40    private static final long EARLIEST_LONG = 1523937600 * 1000L;
    4141
    4242    static {
     
    147147    }
    148148
    149 /****
    150149    public static void main(String[] args) {
    151150        long date = getEarliestTime();
     
    160159        System.out.println("Latest date:   " + new Date(date));
    161160    }
    162 ****/
    163161}
  • core/java/src/net/i2p/util/CommandLine.java

    rd02b71a r1ba7fb9  
    3030        "net.i2p.data.Base64",
    3131        "net.i2p.data.PrivateKeyFile",
     32        "net.i2p.time.BuildTime",
    3233        "net.i2p.util.Addresses",
    3334        "net.i2p.util.ConvertToHash",
Note: See TracChangeset for help on using the changeset viewer.