public void Visit(Date64Type actualType) { Assert.IsAssignableFrom <Date64Type>(_expectedType); var expectedType = (Date64Type)_expectedType; Assert.Equal(expectedType.Unit, actualType.Unit); }
public void Visit(Date64Type actualType) { if (_expectedType is Date64Type expectedType && expectedType.Unit == actualType.Unit) { _dataTypeMatch = true; } }
public void Visit(Date64Type type) { var builder = new Date64Array.Builder().Reserve(Length); var basis = DateTimeOffset.UtcNow.AddSeconds(-Length); for (var i = 0; i < Length; i++) { builder.Append(basis.AddSeconds(i)); } Array = builder.Build(); }
public void Visit(Date64Type type) { Result = FieldType.Build( Flatbuf.Type.Date, Flatbuf.Date.CreateDate(Builder)); }
public void Visit(Date64Type type) => GenerateTestData <DateTime, Date64Array, Date64Array.Builder>(type, x => DateTime.MinValue.AddDays(x));
public void Visit(Date64Type type) => CreateNumberArray <long>(type);
public void Visit(Date64Type type) { throw new NotImplementedException(); }