Package com.impossibl.postgres.datetime.instants

Examples of com.impossibl.postgres.datetime.instants.Instant.disambiguate()


        long micros;
        if (primitiveType == PrimitiveType.TimestampTZ) {
          micros = inst.getMicrosUTC();
        }
        else {
          micros = inst.disambiguate(TimeZone.getDefault()).getMicrosLocal();
        }

        if (!isInfinity(micros)) {

          micros -= PG_JAVA_EPOCH_DIFF_MICROS;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.