Example usage for com.google.gwt.core.client JsDate UTC

List of usage examples for com.google.gwt.core.client JsDate UTC

Introduction

In this page you can find the example usage for com.google.gwt.core.client JsDate UTC.

Prototype

public static native double UTC(int year, int month, int dayOfMonth, int hours, int minutes, int seconds,
        int millis) ;

Source Link

Document

Returns the internal millisecond representation of the specified UTC date and time.

Usage

From source file:java.util.Date.java

License:Apache License

public static long UTC(int year, int month, int date, int hrs, int min, int sec) {
    return (long) JsDate.UTC(year + 1900, month, date, hrs, min, sec, 0);
}