//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void shouldCallExternalErrorOnDateTimeWithOffset() throws Exception //JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: public virtual void ShouldCallExternalErrorOnDateTimeWithOffset() { assumeThat(PackerUnderTest.version(), equalTo(1L)); TestUnpackableStructParametersWithKnownType(new Neo4jPackV2(), ValueUtils.of(OffsetDateTime.now()), "OffsetDateTime values cannot be unpacked with this version of bolt."); }
private static string CurrentTimeZoneOffsetString() { ZoneOffset offset = OffsetDateTime.now().Offset; return(offset.Equals(UTC) ? "+0000" : offset.ToString().Replace(":", "")); }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void shouldFailWhenOffsetDateTimeIsSentWithRun() throws Exception //JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: public virtual void ShouldFailWhenOffsetDateTimeIsSentWithRun() { TestFailureWithV2Value(ValueUtils.of(OffsetDateTime.now()), "OffsetDateTime"); }