Examples of AmbiguousInstant


Examples of com.impossibl.postgres.datetime.instants.AmbiguousInstant

        throw new IOException("invalid length");
      }

      long micros = buffer.readLong();

      return new AmbiguousInstant(Instant.Type.Time, micros);
    }
View Full Code Here

Examples of com.impossibl.postgres.datetime.instants.AmbiguousInstant

      micros += PG_JAVA_EPOCH_DIFF_MICROS;

      if (zone != null)
        return new PreciseInstant(Instant.Type.Timestamp, micros, zone);
      else
        return new AmbiguousInstant(Instant.Type.Timestamp, micros);
    }
View Full Code Here

Examples of com.impossibl.postgres.datetime.instants.AmbiguousInstant

        return PastInfiniteInstant.INSTANCE;
      }

      long micros = toJavaMicros(daysPg);

      return new AmbiguousInstant(Instant.Type.Date, 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.