OpenSiv3D  v0.6.5
C++20 framework for creative coding
Date.hpp File Reference
#include <cstring>
#include "Common.hpp"
#include "DayOfWeek.hpp"
#include "String.hpp"
#include "Duration.hpp"
#include "FormatLiteral.hpp"
#include "detail/Date.ipp"

Classes

struct  s3d::Date
 日付 | Date More...
 
struct  std::hash< s3d::Date >
 

Namespaces

 s3d
 

Functions

String s3d::FormatDate (const Date &date, StringView format=U"yyyy-MM-dd"_sv)
 日付を文字列に変換します。 yyyy 4 桁の年 (0001-) yy 2 桁の年 (00-99) y 年 (1-) MMMM 英語の月 (January-December) MMM 英語の月の略称 (Jan-Dec) MM 2 桁の月 (01-12) M 1-2 桁の月 (1-12) dd 2 桁の日 (01-31) d 1-2 桁の日 (1-31) EEEE 英語の曜日 (Sunday-Saturday) EEE 英語の曜日の略称 (Sun-Sat) More...