( datetime_manipulation )
凡例
| → | 対応コードあり |
| → | 直接対応していないが代替の書き方あり |
| → | 対応コードなし |
| - | 未確認 |
| ( .. ) | ローカライズまだ |
| Example | Python pytest |
C++ GoogleTest |
Swift Testing |
Kotlin jUnit |
Bash bats |
|---|---|---|---|---|---|
| ( diff_dates ) | → | - | - | - | - |
| ( add_days ) | → | - | - | - | - |
| ( add_months ) | → | - | - | - | - |
| ( add_years ) | → | - | - | - | - |
| ( get_beginning_of_month ) | d.replace(day=1) | - | - | - | - |
| ( get_end_of_month ) | calendar.monthrange(y, m)[1] | - | - | - | - |