Java

Java code posted
created at 09 Feb 17:18

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
import java.util.List;
import java.util.ListIterator;

public class WorkPeriod {

  public int weekday; // 1-7
  public int start; // В секундах от начала суток
  public int end; // В секундах от начала суток

  public static void addToDayList( List<WorkPeriod> list, int wd, int from, int to ) {
    ListIterator<WorkPeriod> i = list.listIterator();
398 Bytes in 4 ms with coderay