All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.greenpepper.server.GreenPepperServer Maven / Gradle / Ivy

There is a newer version: 4.2.4
Show newest version
package com.greenpepper.server;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

public final class GreenPepperServer
{
    private static Date versionDate;

    public static final String VERSION = "4.1.8";

    public static Date versionDate()
    {
        String date = "12/10/2017 08:32";
        try {
            versionDate = new SimpleDateFormat("dd/MM/yyyy HH:mm").parse(date);
        } catch (ParseException e) {
            throw new RuntimeException("Unable to get version date", e);
        }
        return versionDate;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy