(
C calendarVariant,
PlainTime time
)
| 111 | * @since 3.8/4.5 |
| 112 | */ |
| 113 | public static <C extends CalendarVariant<C>> GeneralTimestamp<C> of( |
| 114 | C calendarVariant, |
| 115 | PlainTime time |
| 116 | ) { |
| 117 | |
| 118 | if (calendarVariant == null) { |
| 119 | throw new NullPointerException("Missing date component."); |
| 120 | } |
| 121 | |
| 122 | return new GeneralTimestamp<>(calendarVariant, null, time); |
| 123 | |
| 124 | } |
| 125 | |
| 126 | /** |
| 127 | * <p>Creates a new timestamp consisting of a general date and a time component. </p> |
no outgoing calls