(
long seconds,
int fraction
)
| 295 | * @since 2.0 |
| 296 | */ |
| 297 | public static MachineTime<SI> ofSIUnits( |
| 298 | long seconds, |
| 299 | int fraction |
| 300 | ) { |
| 301 | |
| 302 | if ((seconds == 0) && (fraction == 0)) { |
| 303 | return UTC_ZERO; |
| 304 | } |
| 305 | |
| 306 | return new MachineTime<>(seconds, fraction, UTC); |
| 307 | |
| 308 | } |
| 309 | |
| 310 | /** |
| 311 | * <p>Creates a machine time duration on the POSIX scale. </p> |
no outgoing calls