@@ -20,7 +20,7 @@ void testGetTimestampNanosecond() {
2020 new ArrowType .Timestamp (TimeUnit .SECOND , "UTC" ),
2121 null );
2222 Field timeFieldSecond = new Field ("time" , timeTypeSecond , null );
23- timestampNanoSecond = NanosecondConverter .getTimestampNanoSecond (123_456L , timeFieldSecond );
23+ timestampNanoSecond = NanosecondConverter .getTimestampNano (123_456L , timeFieldSecond );
2424 Assertions .assertEquals (
2525 BigInteger .valueOf (123_456L )
2626 .multiply (BigInteger .valueOf (1_000_000_000 )), timestampNanoSecond
@@ -31,7 +31,7 @@ void testGetTimestampNanosecond() {
3131 new ArrowType .Timestamp (TimeUnit .MILLISECOND , "UTC" ),
3232 null );
3333 Field timeFieldMilliSecond = new Field ("time" , timeTypeMilliSecond , null );
34- timestampNanoSecond = NanosecondConverter .getTimestampNanoSecond (123_456L , timeFieldMilliSecond );
34+ timestampNanoSecond = NanosecondConverter .getTimestampNano (123_456L , timeFieldMilliSecond );
3535 Assertions .assertEquals (
3636 BigInteger .valueOf (123_456L )
3737 .multiply (BigInteger .valueOf (1_000_000 )), timestampNanoSecond
@@ -42,7 +42,7 @@ void testGetTimestampNanosecond() {
4242 new ArrowType .Timestamp (TimeUnit .MICROSECOND , "UTC" ),
4343 null );
4444 Field timeFieldMicroSecond = new Field ("time" , timeTypeMicroSecond , null );
45- timestampNanoSecond = NanosecondConverter .getTimestampNanoSecond (123_456L , timeFieldMicroSecond );
45+ timestampNanoSecond = NanosecondConverter .getTimestampNano (123_456L , timeFieldMicroSecond );
4646 Assertions .assertEquals (
4747 BigInteger .valueOf (123_456L )
4848 .multiply (BigInteger .valueOf (1_000 )), timestampNanoSecond
@@ -53,7 +53,7 @@ void testGetTimestampNanosecond() {
5353 new ArrowType .Timestamp (TimeUnit .NANOSECOND , "UTC" ),
5454 null );
5555 Field timeFieldNanoSecond = new Field ("time" , timeTypeNanoSecond , null );
56- timestampNanoSecond = NanosecondConverter .getTimestampNanoSecond (123_456L , timeFieldNanoSecond );
56+ timestampNanoSecond = NanosecondConverter .getTimestampNano (123_456L , timeFieldNanoSecond );
5757 Assertions .assertEquals (BigInteger .valueOf (123_456L ), timestampNanoSecond
5858 );
5959 }
0 commit comments