Method Val.Time()->create()

Method create

Val.Time Val.Time(int hour, int min, void|int sec, void|int nsec)
Val.Time Val.Time(int sec)

Parameter hour

Hours since epoch.

Parameter min

Minutes since epoch.

Parameter sec

Seconds since epoch.

Parameter nsec

Nanoseconds since epoch.

Method create

Val.Time Val.Time(mapping(string:int) tm)

Parameter tm

Standard tm mapping, optionally extended with nsec for nanoseconds. Passed values will not be normalised. Days/months/years are ignored.