  @Test
  public void testFromMillis() {

    assertEquals(new Time(0, 0), Time.fromMillis(0));
    assertEquals(new Time(0, 1000000), Time.fromMillis(1));
    assertEquals(new Time(1, 0), Time.fromMillis(1000));
    assertEquals(new Time(10, 0), Time.fromMillis(10000));
    assertEquals(new Time(1, 1000000), Time.fromMillis(1001));
    assertEquals(new Time(1, 11000000), Time.fromMillis(1011));
  }