| 1 | "effect/DateTime#DateTime": |
| 2 | replacement: "DateTime.DateTime" |
| 3 | note: "The Utc | Zoned model remains; epochMillis fields are now epochMilliseconds and unit/part names use millisecond terminology." |
| 4 | "effect/DateTime#DateTime.Input": |
| 5 | replacement: "DateTime.DateTime.Input" |
| 6 | note: "The input type remains and additionally accepts Instant and InstantWithZone objects." |
| 7 | "effect/DateTime#DateTime.Parts": |
| 8 | replacement: "DateTime.DateTime.Parts" |
| 9 | note: "Rename millis, seconds, minutes, and hours fields to millisecond, second, minute, and hour." |
| 10 | "effect/DateTime#DateTime.PartsForMath": |
| 11 | replacement: "DateTime.DateTime.PartsForMath" |
| 12 | note: "Rename the millis field to milliseconds; the other plural arithmetic fields remain." |
| 13 | "effect/DateTime#DateTime.PartsWithWeekday": |
| 14 | replacement: "DateTime.DateTime.PartsWithWeekday" |
| 15 | note: "Rename millis, seconds, minutes, and hours fields to millisecond, second, minute, and hour." |
| 16 | "effect/DateTime#DateTime.Proto": |
| 17 | replacement: "DateTime.DateTime.Proto" |
| 18 | note: "The protocol remains, but its marker uses the private v4 TypeId value." |
| 19 | "effect/DateTime#DateTime.UnitPlural": |
| 20 | replacement: "DateTime.DateTime.UnitPlural" |
| 21 | note: "Use milliseconds instead of millis; the other plural unit strings remain." |
| 22 | "effect/DateTime#DateTime.UnitSingular": |
| 23 | replacement: "DateTime.DateTime.UnitSingular" |
| 24 | note: "Use millisecond instead of milli; the other singular unit strings remain." |
| 25 | "effect/DateTime#distanceDuration": |
| 26 | replacement: "Duration.millis(Math.abs(DateTime.distance(self, other)))" |
| 27 | note: "DateTime.distance returns signed milliseconds in v4; take the absolute value and construct a Duration to preserve v3 behavior." |
| 28 | "effect/DateTime#distanceDurationEither": |
| 29 | replacement: "DateTime.distance + Result" |
| 30 | note: "Compute the signed millisecond distance, wrap its absolute Duration as Result.succeed when positive and Result.fail when non-positive; v4 uses Result instead of Either." |
| 31 | "effect/DateTime#greaterThan": |
| 32 | replacement: "DateTime.isGreaterThan" |
| 33 | note: "The comparison was renamed with the is prefix." |
| 34 | "effect/DateTime#greaterThanOrEqualTo": |
| 35 | replacement: "DateTime.isGreaterThanOrEqualTo" |
| 36 | note: "The comparison was renamed with the is prefix." |
| 37 | "effect/DateTime#lessThan": |
| 38 | replacement: "DateTime.isLessThan" |
| 39 | note: "The comparison was renamed with the is prefix." |
| 40 | "effect/DateTime#lessThanOrEqualTo": |
| 41 | replacement: "DateTime.isLessThanOrEqualTo" |
| 42 | note: "The comparison was renamed with the is prefix." |
| 43 | "effect/DateTime#TimeZone": |
| 44 | replacement: "DateTime.TimeZone" |
| 45 | note: "The Offset | Named model remains; its public type-id marker type was removed." |
| 46 | "effect/DateTime#TimeZone.Proto": |
| 47 | replacement: "DateTime.TimeZone.Proto" |
| 48 | note: "The protocol remains, but its marker uses the private v4 TimeZoneTypeId value." |
| 49 | "effect/DateTime#TimeZoneTypeId": |
| 50 | replacement: "none" |
| 51 | note: "The time-zone type id is private in v4. Use DateTime.isTimeZone, isTimeZoneOffset, or isTimeZoneNamed." |
| 52 | "effect/DateTime#TypeId": |
| 53 | replacement: "none" |
| 54 | note: "The DateTime type id is private in v4. Use DateTime.isDateTime, isUtc, or isZoned." |
| 55 | "effect/DateTime#unsafeFromDate": |
| 56 | replacement: "DateTime.fromDateUnsafe" |
| 57 | note: "The unsafe suffix moved to the end of the constructor name." |
| 58 | "effect/DateTime#unsafeIsFuture": |
| 59 | replacement: "DateTime.isFutureUnsafe" |
| 60 | note: "The unsafe suffix moved to the end of the predicate name." |
| 61 | "effect/DateTime#unsafeIsPast": |
| 62 | replacement: "DateTime.isPastUnsafe" |
| 63 | note: "The unsafe suffix moved to the end of the predicate name." |
| 64 | "effect/DateTime#unsafeMake": |
| 65 | replacement: "DateTime.makeUnsafe" |
| 66 | note: "The unsafe suffix moved to the end of the constructor name." |
| 67 | "effect/DateTime#unsafeMakeZoned": |
| 68 | replacement: "DateTime.makeZonedUnsafe" |
| 69 | note: "The unsafe suffix moved to the end of the constructor name." |
| 70 | "effect/DateTime#unsafeNow": |
| 71 | replacement: "DateTime.nowUnsafe" |
| 72 | note: "The unsafe suffix moved to the end of the accessor name." |
| 73 | "effect/DateTime#unsafeSetZoneNamed": |
| 74 | replacement: "DateTime.setZoneNamedUnsafe" |
| 75 | note: "The unsafe suffix moved to the end of the zone setter name." |
| 76 | "effect/DateTime#Utc": |
| 77 | replacement: "DateTime.Utc" |
| 78 | note: "The model remains; rename epochMillis to epochMilliseconds." |
| 79 | "effect/DateTime#Zoned": |
| 80 | replacement: "DateTime.Zoned" |
| 81 | note: "The model remains; rename epochMillis and adjustedEpochMillis to epochMilliseconds and adjustedEpochMilliseconds." |
| 82 | "effect/DateTime#zoneUnsafeMakeNamed": |
| 83 | replacement: "DateTime.zoneMakeNamedUnsafe" |
| 84 | note: "The unsafe suffix moved to the end of the named-zone constructor." |