The YWDateHelper type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() ![]() | GetAge(DateTime) |
クライアントPCのシステム日付から現在の年齢を取得します。
|
![]() ![]() | GetAge(String) |
クライアントPCのシステム日付から現在の年齢を取得します。
|
![]() ![]() | GetAge(DateTime, DateTime) |
年齢を取得します。
|
![]() ![]() | GetAge(String, String) |
年齢を取得します。
|
![]() ![]() | GetCorrectDate |
targetDateとdayを組み合わせて正しい日付を取得します。
day = 0 は1日、day >= 29 以降は日付として認識できない時は末日を返します。
|
![]() ![]() | GetDaySinceGessho(DateTime) |
当日を含む月初からの日数(=日)を取得します。
|
![]() ![]() | GetDaySinceGessho(String) |
当日を含む月初からの日数(=日)を取得します。
|
![]() ![]() | GetDaysUntilTheEndOfMonth(DateTime) |
当月を含む月末までの日数を取得します。
|
![]() ![]() | GetDaysUntilTheEndOfMonth(String) |
当月を含む月末までの日数を取得します。
|
![]() ![]() | GetTheEndOfMonth(DateTime) |
指定日の末日を取得します。
|
![]() ![]() | GetTheEndOfMonth(String) |
指定日の末日を取得します。
|
![]() ![]() | IsDate |
IsDate の拡張版です。yyyyMMdd にも対応します。
|
![]() ![]() | Parse |
DateTime.Parse の拡張版です。yyyyMMdd にも対応します。
|