Lines Matching refs:ctod

8036         const ctod = TimeOfDay(12, 30, 33);  member
8038 assert(ctod.opCmp(itod) == 0);
8039 assert(itod.opCmp(ctod) == 0);
8056 const ctod = TimeOfDay(12, 0, 0); member
8058 assert(ctod.hour == 12);
8138 const ctod = TimeOfDay(0, 0, 0); member
8140 static assert(!__traits(compiles, ctod.minute = 30));
8158 const ctod = TimeOfDay(0, 0, 33); member
8160 assert(ctod.second == 33);
8252 const ctod = TimeOfDay(0, 0, 0); member
8254 static assert(!__traits(compiles, ctod.roll!"hours"(53)));
8359 const ctod = TimeOfDay(0, 0, 0); member
8361 static assert(!__traits(compiles, ctod.roll!"minutes"(7)));
8432 const ctod = TimeOfDay(0, 0, 0); member
8434 static assert(!__traits(compiles, ctod.roll!"seconds"(7)));
8512 const ctod = TimeOfDay(12, 30, 33); member
8515 assert(ctod + duration == TimeOfDay(23, 30, 33));
8519 assert(ctod - duration == TimeOfDay(1, 30, 33));
8584 const ctod = TimeOfDay(12, 33, 30); member
8586 static assert(!__traits(compiles, ctod += duration));
8588 static assert(!__traits(compiles, ctod -= duration));
8628 const ctod = TimeOfDay(12, 30, 33); member
8631 assert(ctod - tod == Duration.zero);
8634 assert(tod - ctod == Duration.zero);
8635 assert(ctod - ctod == Duration.zero);
8636 assert(itod - ctod == Duration.zero);
8639 assert(ctod - itod == Duration.zero);
8666 const ctod = TimeOfDay(12, 30, 33); member
8669 assert(ctod.toISOString() == "123033");
8696 const ctod = TimeOfDay(12, 30, 33); member
8699 assert(ctod.toISOExtString() == "12:30:33");
8735 const ctod = TimeOfDay(12, 30, 33); member
8738 assert(ctod.toString());
9138 const ctod = TimeOfDay(0, 0, 0);
9140 static assert(!__traits(compiles, ctod._addSeconds(7)));