We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 766113b commit 005e496Copy full SHA for 005e496
sdk/lib/core/date_time.dart
@@ -432,8 +432,8 @@ class DateTime implements Comparable<DateTime> {
432
/// assert(later.isAfter(now.toUtc()));
433
/// assert(later.toUtc().isAfter(now));
434
///
435
- /// assert(!now.toUtc().isBefore(now));
436
- /// assert(!now.isBefore(now.toUtc()));
+ /// assert(!now.toUtc().isAfter(now));
+ /// assert(!now.isAfter(now.toUtc()));
437
/// ```
438
external bool isAfter(DateTime other);
439
0 commit comments