public static TimePeriod GetTimePeriod(LUInfo luInfo) { List <string> timeareas = GetEntity(luInfo, "builtin.datetime.time"); return(DatetimeUtils.ConvertTimeArea(timeareas)); }
public static DatePeriod GetDatePeriod(LUInfo luInfo) { List <string> dateareas = GetEntity(luInfo, "builtin.datetime.date"); return(DatetimeUtils.ConvertDateArea(dateareas)); }