From f3dd81ab9b73bb258646b2be70c1592fedd74431 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Sun, 29 Aug 2010 20:40:15 +0000 Subject: [PATCH] * style adjustments git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38426 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/os/locale/DateTimeFormat.h | 3 ++- src/kits/locale/DateTimeFormat.cpp | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/headers/os/locale/DateTimeFormat.h b/headers/os/locale/DateTimeFormat.h index 83aa3590b6..3c3a9f7ef0 100644 --- a/headers/os/locale/DateTimeFormat.h +++ b/headers/os/locale/DateTimeFormat.h @@ -21,7 +21,8 @@ public: // no-frills version: Simply appends the // formatted date to the string buffer. - // Can fail only with B_NO_MEMORY or B_BAD_VALUE. + // Can fail only with B_NO_MEMORY or + // B_BAD_VALUE. virtual status_t Format(bigtime_t value, BString* buffer) const; // TODO: ... basically, all of it! diff --git a/src/kits/locale/DateTimeFormat.cpp b/src/kits/locale/DateTimeFormat.cpp index 4ddc7df3a1..fe2e4d0e50 100644 --- a/src/kits/locale/DateTimeFormat.cpp +++ b/src/kits/locale/DateTimeFormat.cpp @@ -15,17 +15,20 @@ BDateTimeFormat::BDateTimeFormat() { } + // copy constructor BDateTimeFormat::BDateTimeFormat(const BDateTimeFormat &other) : BFormat(other) { } + // destructor BDateTimeFormat::~BDateTimeFormat() { } + // Format status_t BDateTimeFormat::Format(bigtime_t value, BString* buffer) const