public Periodical setTime(string time)
{
Preconditions.checkArgument(!String.IsNullOrEmpty(time), "The time must not be empty.");
Preconditions.checkArgument(StringUtil.IsTime(time), "The time must be the right format.");
this.time = time;
return this;
}