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

com.github.gpluscb.ggjava.entity.object.response.scalars.TimestampResponse Maven / Gradle / Ivy

package com.github.gpluscb.ggjava.entity.object.response.scalars;

import com.github.gpluscb.ggjava.entity.EntityType;
import com.github.gpluscb.ggjava.entity.object.scalars.GGTimestamp;

/**
 * Represents a Unix Timestamp. Supports up to 53 bit int values,
 * as that is JavaScript's internal memory allocation for integer values.
 */
public class TimestampResponse extends ScalarResponse implements GGTimestamp {
	public TimestampResponse() {
		super(EntityType.TIMESTAMP);
	}

	public TimestampResponse(long value) {
		super(EntityType.TIMESTAMP, value);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy