예제 #1
0
        public static TimePeriod GetTimePeriod(LUInfo luInfo)
        {
            List <string> timeareas = GetEntity(luInfo, "builtin.datetime.time");

            return(DatetimeUtils.ConvertTimeArea(timeareas));
        }
예제 #2
0
        public static DatePeriod GetDatePeriod(LUInfo luInfo)
        {
            List <string> dateareas = GetEntity(luInfo, "builtin.datetime.date");

            return(DatetimeUtils.ConvertDateArea(dateareas));
        }