AITestApplication.java 846 B

1234567891011121314151617
  1. package com.usky.ai;
  2. import com.usky.ai.dto.AlgScheduleFetchResponseDTO;
  3. import java.util.List;
  4. public class AITestApplication {
  5. public static void main(String[] args) {
  6. String value = "100000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000";
  7. AlgScheduleFetchResponseDTO.Schedule schedule = new AlgScheduleFetchResponseDTO.Schedule();
  8. schedule.setValue(value);
  9. List<String> timePeriods = schedule.getReadableTimePeriods();
  10. for (String period : timePeriods) {
  11. System.out.println(period);
  12. }
  13. }
  14. }