Skip to content

Instantly share code, notes, and snippets.

@dangnhdev
Created January 31, 2016 15:40
Show Gist options
  • Save dangnhdev/092449a6b5df9b62d8e0 to your computer and use it in GitHub Desktop.
Save dangnhdev/092449a6b5df9b62d8e0 to your computer and use it in GitHub Desktop.
import java.time.*;
public interface TimeClient {
void setTime(int hour, int minute, int second);
void setDate(int day, int month, int year);
void setDateAndTime(int day, int month, int year,
int hour, int minute, int second);
LocalDateTime getLocalDateTime();
ZonedDateTime getZonedDateTime(String zoneString);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment