Skip to content

Commit

Permalink
MinCarbon -> MinValue
Browse files Browse the repository at this point in the history
MaxCarbon -> MaxValue
  • Loading branch information
gouguoyin committed Nov 29, 2024
1 parent 1078ea0 commit b402e86
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -579,9 +579,9 @@ carbon.Max(yesterday, today, tomorrow) // tomorrow
carbon.Min(yesterday, today, tomorrow) // yesterday

// 返回 Carbon 的最大值
carbon.MaxCarbon().ToString() // 9999-12-31 23:59:59.999999999 +0000 UTC
carbon.MaxValue().ToString() // 9999-12-31 23:59:59.999999999 +0000 UTC
// 返回 Carbon 的最小值
carbon.MinCarbon().ToString() // 0001-01-01 00:00:00 +0000 UTC
carbon.MinValue().ToString() // -9998-01-01 00:00:00 +0000 UTC
```

##### 时间判断
Expand Down
2 changes: 1 addition & 1 deletion README.jp.md
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ carbon.Min(yesterday, today, tomorrow) // yesterday
// Carbonの最大値を戻す
carbon.MaxCarbon().ToString() // 9999-12-31 23:59:59.999999999 +0000 UTC
// Carbonの最小値を戻す
carbon.MinCarbon().ToString() // 0001-01-01 00:00:00 +0000 UTC
carbon.MinCarbon().ToString() // -9998-01-01 00:00:00 +0000 UTC
```

##### 比較
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -574,9 +574,9 @@ carbon.Max(yesterday, today, tomorrow) // tomorrow
carbon.Min(yesterday, today, tomorrow) // yesterday

// Return a Carbon instance for the greatest supported date
carbon.MaxCarbon().ToString() // 9999-12-31 23:59:59.999999999 +0000 UTC
carbon.MaxValue().ToString() // 9999-12-31 23:59:59.999999999 +0000 UTC
// Return a Carbon instance for the lowest supported date
carbon.MinCarbon().ToString() // 0001-01-01 00:00:00 +0000 UTC
carbon.MinValue().ToString() // -9998-01-01 00:00:00 +0000 UTC
```

##### Comparison
Expand Down

0 comments on commit b402e86

Please sign in to comment.