Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(565)

Unified Diff: third_party/WebKit/Source/platform/DateComponents.h

Issue 2388303002: reflow comments in platform/ (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/DateComponents.h
diff --git a/third_party/WebKit/Source/platform/DateComponents.h b/third_party/WebKit/Source/platform/DateComponents.h
index 79a975aec2a7b3d1be05db6a8057aa91835d1bdc..91a3ef8df1b9cd4f6353b66370d73ff2bc174503 100644
--- a/third_party/WebKit/Source/platform/DateComponents.h
+++ b/third_party/WebKit/Source/platform/DateComponents.h
@@ -39,12 +39,14 @@
namespace blink {
-// A DateComponents instance represents one of the following date and time combinations:
+// A DateComponents instance represents one of the following date and time
+// combinations:
// * Month type: year-month
// * Date type: year-month-day
// * Week type: year-week
// * Time type: hour-minute-second-millisecond
-// * DateTime or DateTimeLocal type: year-month-day hour-minute-second-millisecond
+// * DateTime or DateTimeLocal type:
+// year-month-day hour-minute-second-millisecond
class PLATFORM_EXPORT DateComponents {
DISALLOW_NEW();
@@ -82,8 +84,9 @@ class PLATFORM_EXPORT DateComponents {
Type getType() const { return m_type; }
enum SecondFormat {
- None, // Suppress the second part and the millisecond part if they are 0.
- Second, // Always show the second part, and suppress the millisecond part if it is 0.
+ None, // Suppress the second part and the millisecond part if they are 0.
+ Second, // Always show the second part, and suppress the millisecond part
+ // if it is 0.
Millisecond // Always show the second part and the millisecond part.
};
@@ -123,9 +126,11 @@ class PLATFORM_EXPORT DateComponents {
// For Date type. Updates m_year, m_month and m_monthDay.
bool setMillisecondsSinceEpochForDate(double ms);
- // For DateTime type. Updates m_year, m_month, m_monthDay, m_hour, m_minute, m_second and m_millisecond.
+ // For DateTime type. Updates m_year, m_month, m_monthDay, m_hour, m_minute,
+ // m_second and m_millisecond.
bool setMillisecondsSinceEpochForDateTime(double ms);
- // For DateTimeLocal type. Updates m_year, m_month, m_monthDay, m_hour, m_minute, m_second and m_millisecond.
+ // For DateTimeLocal type. Updates m_year, m_month, m_monthDay, m_hour,
+ // m_minute, m_second and m_millisecond.
bool setMillisecondsSinceEpochForDateTimeLocal(double ms);
// For Month type. Updates m_year and m_month.
bool setMillisecondsSinceEpochForMonth(double ms);
« no previous file with comments | « third_party/WebKit/Source/platform/Cursor.cpp ('k') | third_party/WebKit/Source/platform/DateComponents.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698