![JAR search and dependency download from the Maven repository](/logo.png)
com.jakewharton.pingdom.entities.ServerTime Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pingdom-java Show documentation
Show all versions of pingdom-java Show documentation
A Java wrapper around the Pingdom RESTful API and a simple DSL for easy interaction.
The newest version!
package com.jakewharton.pingdom.entities;
import java.util.Date;
import com.google.gson.annotations.Since;
import com.jakewharton.pingdom.PingdomEntity;
/**
* Represents a Pingdom server time object.
*/
public final class ServerTime implements PingdomEntity {
private static final long serialVersionUID = -3782819340976494833L;
@Since(2.0) private Date serverTime;
/**
* Current server time.
*
* @return Value.
* @since 2.0
*/
public Date getServiceTime() {
return this.serverTime;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy