added seconds, equals and hashCode to Time.scala