Package com.impossibl.postgres.datetime.instants

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


      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

        return PastInfiniteInstant.INSTANCE;
      }

      long micros = toJavaMicros(daysPg);

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

TOP

Related Classes of com.impossibl.postgres.datetime.instants.AmbiguousInstant

Copyright © 2018 www.massapicom. 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.