List of usage examples for com.google.gwt.core.client JsDate setHours
public final native double setHours(int hours, int mins, int secs, int ms) ;
From source file:gov.nist.spectrumbrowser.client.SensorInfoDisplay.java
License:Open Source License
long getSelectedDayBoundary(long time) { JsDate jsDate = JsDate.create(time * 1000); jsDate.setHours(0, 0, 0, 0); return (long) jsDate.getTime() / 1000; }