//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET: //ORIGINAL LINE: static HijrahDate readExternal(java.io.ObjectInput in) throws java.io.IOException, ClassNotFoundException internal static HijrahDate ReadExternal(ObjectInput @in) { HijrahChronology ChronoLocalDate_Fields.Chrono = (HijrahChronology)@in.ReadObject(); int year = @in.ReadInt(); int month = @in.ReadByte(); int dayOfMonth = @in.ReadByte(); return(ChronoLocalDate_Fields.Chrono.Date(year, month, dayOfMonth)); }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET: //ORIGINAL LINE: static Object read(java.io.ObjectInput in) throws java.io.IOException, ClassNotFoundException internal static Object Read(ObjectInput @in) { sbyte type = @in.ReadByte(); return(ReadInternal(type, @in)); }
//----------------------------------------------------------------------- /// <summary> /// Implements the {@code Externalizable} interface to read the object. /// @serialData /// The streamed type and parameters defined by the type's {@code writeReplace} /// method are read and passed to the corresponding static factory for the type /// to create a new instance. That instance is returned as the de-serialized /// {@code Ser} object. /// /// <ul> /// <li><a href="../../../serialized-form.html#java.time.chrono.HijrahChronology">HijrahChronology</a> - Chronology.of(id) /// <li><a href="../../../serialized-form.html#java.time.chrono.IsoChronology">IsoChronology</a> - Chronology.of(id) /// <li><a href="../../../serialized-form.html#java.time.chrono.JapaneseChronology">JapaneseChronology</a> - Chronology.of(id) /// <li><a href="../../../serialized-form.html#java.time.chrono.MinguoChronology">MinguoChronology</a> - Chronology.of(id) /// <li><a href="../../../serialized-form.html#java.time.chrono.ThaiBuddhistChronology">ThaiBuddhistChronology</a> - Chronology.of(id) /// <li><a href="../../../serialized-form.html#java.time.chrono.ChronoLocalDateTimeImpl">ChronoLocalDateTime</a> - date.atTime(time) /// <li><a href="../../../serialized-form.html#java.time.chrono.ChronoZonedDateTimeImpl">ChronoZonedDateTime</a> - dateTime.atZone(offset).withZoneSameLocal(zone) /// <li><a href="../../../serialized-form.html#java.time.chrono.JapaneseDate">JapaneseDate</a> - JapaneseChronology.INSTANCE.date(year, month, dayOfMonth) /// <li><a href="../../../serialized-form.html#java.time.chrono.JapaneseEra">JapaneseEra</a> - JapaneseEra.of(eraValue) /// <li><a href="../../../serialized-form.html#java.time.chrono.HijrahDate">HijrahDate</a> - HijrahChronology chrono.date(year, month, dayOfMonth) /// <li><a href="../../../serialized-form.html#java.time.chrono.MinguoDate">MinguoDate</a> - MinguoChronology.INSTANCE.date(year, month, dayOfMonth) /// <li><a href="../../../serialized-form.html#java.time.chrono.ThaiBuddhistDate">ThaiBuddhistDate</a> - ThaiBuddhistChronology.INSTANCE.date(year, month, dayOfMonth) /// </ul> /// </summary> /// <param name="in"> the data stream to read from, not null </param> //JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET: //ORIGINAL LINE: @Override public void readExternal(java.io.ObjectInput in) throws java.io.IOException, ClassNotFoundException public void ReadExternal(ObjectInput @in) { Type = @in.ReadByte(); @object = ReadInternal(Type, @in); }
public byte ReadByte() { return(dataInput.ReadByte()); }