Lines Matching refs:ctod
8425 const ctod = TimeOfDay(12, 30, 33); member
8427 assert(ctod.opCmp(itod) == 0);
8428 assert(itod.opCmp(ctod) == 0);
8445 const ctod = TimeOfDay(12, 0, 0); member
8447 assert(ctod.hour == 12);
8527 const ctod = TimeOfDay(0, 0, 0); member
8529 static assert(!__traits(compiles, ctod.minute = 30));
8547 const ctod = TimeOfDay(0, 0, 33); member
8549 assert(ctod.second == 33);
8645 const ctod = TimeOfDay(0, 0, 0); member
8647 static assert(!__traits(compiles, ctod.roll!"hours"(53)));
8752 const ctod = TimeOfDay(0, 0, 0); member
8754 static assert(!__traits(compiles, ctod.roll!"minutes"(7)));
8825 const ctod = TimeOfDay(0, 0, 0); member
8827 static assert(!__traits(compiles, ctod.roll!"seconds"(7)));
8907 const ctod = TimeOfDay(12, 30, 33); member
8910 assert(ctod + duration == TimeOfDay(23, 30, 33));
8914 assert(ctod - duration == TimeOfDay(1, 30, 33));
8980 const ctod = TimeOfDay(12, 33, 30); member
8982 static assert(!__traits(compiles, ctod += duration));
8984 static assert(!__traits(compiles, ctod -= duration));
9026 const ctod = TimeOfDay(12, 30, 33); member
9029 assert(ctod - tod == Duration.zero);
9032 assert(tod - ctod == Duration.zero);
9033 assert(ctod - ctod == Duration.zero);
9034 assert(itod - ctod == Duration.zero);
9037 assert(ctod - itod == Duration.zero);
9081 const ctod = TimeOfDay(12, 30, 33); member
9084 assert(ctod.toISOString() == "123033");
9128 const ctod = TimeOfDay(12, 30, 33); member
9131 assert(ctod.toISOExtString() == "12:30:33");
9179 const ctod = TimeOfDay(12, 30, 33); member
9182 assert(ctod.toString());
9581 const ctod = TimeOfDay(0, 0, 0);
9583 static assert(!__traits(compiles, ctod._addSeconds(7)));