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

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

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.2.2";

    public static Date versionDate()
    {
        String date = "15/02/2018 04:55";
        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;
    }

    public static String version() {
        return VERSION;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy