@@ -1168,7 +1168,6 @@ Java API 提供了一组以Basic+\<DataType\>方式命名的类,分别对应Do
1168
1168
| | 同上 | BasicTimestamp | BasicTimestamp basicTimestamp = new BasicTimestamp (new GregorianCalendar ()); | TIMESTAMP | 2012.06 . 13 13 : 30 : 10.008 or 2012.06 . 13T13: 30 : 10.008 |
1169
1169
| LocalDateTime | LocalDateTime currentDateTime = LocalDateTime . now(); | BasicDateHour | BasicDateHour basicDateHour = new BasicDateHour (LocalDateTime . now()); | DATEHOUR | 2012.06 . 13T13 |
1170
1170
| | 同上 | BasicDateTime | BasicDateTime basicDateTime = new BasicDateTime (LocalDateTime . of(2000 , 2 , 2 , 3 , 2 , 3 , 2 )); | DATETIME | 2012.06 . 13 13 : 30 : 10 or 2012.06 . 13T13: 30 : 10 |
1171
- | | 同上 | BasicMinute | BasicMinute basicMinute = new BasicMinute (LocalTime . of(11 , 40 , 53 )); | MINUTE | 13 : 30m |
1172
1171
| | 同上 | BasicNanoTime | BasicNanoTime basicNanoTime = new BasicNanoTime (LocalDateTime . of(2000 , 2 , 2 , 3 , 2 , 3 , 2 )); | NANOTIME | 13 : 30 : 10.008007006 |
1173
1172
| | 同上 | BasicNanoTimestamp | BasicNanoTimestamp bnts = new BasicNanoTimestamp (LocalDateTime . of(2018 ,11 ,12 ,8 ,1 ,1 ,123456789 )); | NANOTIMESTAMP | 2012.06 . 13 13 : 30 : 10.008007006 or 2012.06 . 13T13: 30 : 10.008007006 |
1174
1173
| | 同上 | BasicTimestamp | BasicTimestamp basicTimestamp = new BasicTimestamp (LocalDateTime . of(2000 , 2 , 2 , 3 , 2 , 3 , 2 )); | TIMESTAMP | 2012.06 . 13 13 : 30 : 10.008 or 2012.06 . 13T13: 30 : 10.008 |
@@ -1185,6 +1184,7 @@ Java API 提供了一组以Basic+\<DataType\>方式命名的类,分别对应Do
1185
1184
| YearMonth | YearMonth yearMonth = YearMonth . of(2023 , 6 ); | BasicMonth | BasicMonth basicMonth = new BasicMonth (YearMonth . of(2022 , 7 )); | MONTH | 2012. 06M |
1186
1185
| LocalTime | LocalTime specificTime = LocalTime . of(10 , 30 , 0 ); | BasicNanoTime | BasicNanoTime basicNanoTime = new BasicNanoTime (LocalTime . of(1 , 1 , 1 , 1323433 )); | NANOTIME | 13 : 30 : 10.008007006 |
1187
1186
| | 同上 | BasicSecond | BasicSecond basicSecond = new BasicSecond (LocalTime . of(2 , 2 , 2 )); | SECOND | 13 : 30 : 10 |
1187
+ | | 同上 | BasicMinute | BasicMinute basicMinute = new BasicMinute (LocalTime . of(11 , 40 , 53 )); | MINUTE | 13 : 30m |
1188
1188
| | 同上 | BasicTime | BasicTime basicTime = new BasicTime (LocalTime . of(13 , 7 , 55 )); | TIME | 13 : 30 : 10.008 |
1189
1189
| - | - | BasicPoint | BasicPoint basicPoint = new BasicPoint (6.4 , 9.2 ); | POINT | (117.60972 , 24.118418 ) |
1190
1190
| short | short number = 100 ; | BasicShort | BasicShort basicShort = new BasicShort ((short ) 21 ); | SHORT | 122h |
0 commit comments