Home
last modified time | relevance | path

Searched refs:BDateTime (Results 1 – 25 of 28) sorted by relevance

12

/haiku/headers/private/netservices2/
H A DHttpTime.h29 BHttpTime(BDateTime date);
34 void SetTo(BDateTime date);
38 BDateTime DateTime() const noexcept;
46 BDateTime fDate;
64 BDateTime parse_http_time(const BString& string);
65 BString format_http_time(BDateTime timestamp,
/haiku/headers/os/support/
H A DDateTime.h175 class BDateTime {
177 BDateTime();
178 BDateTime(const BDate &date, const BTime &time);
179 BDateTime(const BMessage* archive);
180 ~BDateTime();
186 static BDateTime CurrentDateTime(time_type type);
200 bool operator!=(const BDateTime& dateTime) const;
201 bool operator==(const BDateTime& dateTime) const;
203 bool operator<(const BDateTime& dateTime) const;
204 bool operator<=(const BDateTime& dateTime) const;
[all …]
/haiku/src/kits/support/
H A DDateTime.cpp1247 BDateTime::BDateTime() in BDateTime() function in BPrivate::BDateTime
1258 BDateTime::BDateTime(const BDate& date, const BTime& time) in BDateTime() function in BPrivate::BDateTime
1268 BDateTime::BDateTime(const BMessage* archive) in BDateTime() function in BPrivate::BDateTime
1278 BDateTime::~BDateTime() in ~BDateTime()
1291 BDateTime::Archive(BMessage* into) const in Archive()
1304 BDateTime::IsValid() const in IsValid()
1314 BDateTime
1315 BDateTime::CurrentDateTime(time_type type) in CurrentDateTime()
1317 return BDateTime(BDate::CurrentDate(type), BTime::CurrentTime(type)); in CurrentDateTime()
1325 BDateTime::SetDateTime(const BDate& date, const BTime& time) in SetDateTime()
[all …]
/haiku/headers/private/netservices/
H A DHttpTime.h30 BHttpTime(BDateTime date);
35 void SetDate(BDateTime date);
39 BDateTime Parse();
44 BDateTime fDate;
H A DNetworkCookie.h43 BNetworkCookie& SetExpirationDate(BDateTime& expireDate);
110 BDateTime fExpiration;
/haiku/src/apps/haikudepot/server/
H A DStandardMetaData.cpp17 /*static*/ BDateTime
21 BDateTime result; in _CreateDateTime()
34 BDateTime
62 BDateTime
H A DStandardMetaData.h27 BDateTime GetCreateTimestampAsDateTime() const;
31 BDateTime GetDataModifiedTimestampAsDateTime()
38 static BDateTime _CreateDateTime(
/haiku/src/kits/network/libnetservices2/
H A DHttpTime.cpp88 fDate(BDateTime::CurrentDateTime(B_GMT_TIME)), in BHttpTime()
94 BHttpTime::BHttpTime(BDateTime date) in BHttpTime()
124 BHttpTime::SetTo(BDateTime date) in SetTo()
137 BDateTime
213 fDate = BDateTime(date, time); in _Parse()
220 BDateTime
229 BPrivate::Network::format_http_time(BDateTime timestamp, BHttpTimeFormat outputFormat) in format_http_time()
/haiku/docs/user/support/
H A DDateTime.dox1059 \class BPrivate::BDateTime
1069 \fn BPrivate::BDateTime::BDateTime()
1080 \fn BPrivate::BDateTime::BDateTime(const BDate &date, const BTime &time)
1094 \fn BPrivate::BDateTime::BDateTime(const BMessage *archive)
1107 \fn BPrivate::BDateTime::~BDateTime()
1118 \fn status_t BPrivate::BDateTime::Archive(BMessage *into) const
1131 \fn BDate& BPrivate::BDateTime::Date()
1142 \fn const BDate& BPrivate::BDateTime::Date() const
1153 \fn bool BPrivate::BDateTime::IsValid() const
1164 \fn bool BPrivate::BDateTime::operator!=(const BDateTime &dateTime) const
[all …]
/haiku/src/kits/network/libnetservices/
H A DHttpTime.cpp65 BHttpTime::BHttpTime(BDateTime date) in BHttpTime()
93 BHttpTime::SetDate(BDateTime date) in SetDate()
102 BDateTime
142 BDateTime dateTime(date, time); in Parse()
H A DNetworkCookie.cpp80 BDateTime time = BHttpTime(expirationString).Parse(); in BNetworkCookie()
171 BDateTime parsed = BHttpTime(value).Parse(); in ParseCookieString()
279 BDateTime expiration = BDateTime::CurrentDateTime(B_LOCAL_TIME); in SetMaxAge()
296 BDateTime expiration; in SetExpirationDate()
303 BNetworkCookie::SetExpirationDate(BDateTime& expireDate) in SetExpirationDate()
628 return (BDateTime::CurrentDateTime(B_GMT_TIME) > fExpiration); in ShouldDeleteNow()
734 fExpiration = BDateTime(); in _Reset()
/haiku/docs/user/netservices/
H A DHttpTime.dox54 4-digit year format. When formatting a \ref BPrivate::BDateTime to a string, it will always use
100 Note that for quick conversions of a \ref BDateTime into a \ref BString and vice versa, you can
116 \fn BHttpTime::BHttpTime(BDateTime date)
119 \param date A valid \ref BDateTime object for the desired timestamp.
142 \fn void BHttpTime::SetTo(BDateTime date)
145 \param date A valid \ref BDateTime object for the desired timestamp.
168 \fn BDateTime BPrivate::Network::BHttpTime::DateTime() const noexcept
171 \return A valid \ref BDateTime object that contains the timestamp that this object is currently
188 If the timestamp was set by setting it to a \ref BDateTime object, then this will always return
192 \c BHttpTimeFormat::RFC1123 if the timestamp was set by a \ref BDateTime.
[all …]
/haiku/src/apps/webpositive/
H A DBrowsingHistory.cpp25 fDateTime(BDateTime::CurrentDateTime(B_LOCAL_TIME)), in BrowsingHistoryItem()
43 fDateTime = BDateTime(&dateTimeArchive); in BrowsingHistoryItem()
144 fDateTime = BDateTime::CurrentDateTime(B_LOCAL_TIME); in Invoked()
308 BDateTime oldestAllowedDateTime in _LoadSettings()
309 = BDateTime::CurrentDateTime(B_LOCAL_TIME); in _LoadSettings()
H A DBrowsingHistory.h43 const BDateTime& DateTime() const { return fDateTime; } in DateTime()
50 BDateTime fDateTime;
H A DBrowserWindow.cpp2313 BDateTime todayStart = BDateTime::CurrentDateTime(B_LOCAL_TIME); in _UpdateHistoryMenu()
2316 BDateTime oneDayAgoStart = todayStart; in _UpdateHistoryMenu()
2319 BDateTime twoDaysAgoStart = oneDayAgoStart; in _UpdateHistoryMenu()
2322 BDateTime threeDaysAgoStart = twoDaysAgoStart; in _UpdateHistoryMenu()
2325 BDateTime fourDaysAgoStart = threeDaysAgoStart; in _UpdateHistoryMenu()
2328 BDateTime fiveDaysAgoStart = fourDaysAgoStart; in _UpdateHistoryMenu()
/haiku/src/tests/kits/net/service/
H A DCookieTest.cpp730 BDateTime expire; in ExplodeTest()
741 …{ true, "name", "value", "www.example.com", "/path", false, false, true, BDateTime() … in ExplodeTest()
743 …{ true, "name", "value", "example.com", "/" , true, false, true, BDateTime() … in ExplodeTest()
745 …{ true, "name", "value", "www.example.com", "/path", true, true, true, BDateTime() … in ExplodeTest()
748 BDateTime(BDate(2013, 2, 20), BTime(20, 0, 0, 0)) } }, in ExplodeTest()
751 { true, "name", "", "example.com", "/" , true, false, true, BDateTime() } }, in ExplodeTest()
754 …{ false, "name", "value", "www.example.com", "/path", false, false, true, BDateTime()… in ExplodeTest()
757 …{ false, "name", "value", "www.example.com", "/path", false, false, true, BDateTime() … in ExplodeTest()
760 …{ false, "name", "value", "www.example.com", "/path", false, false, true, BDateTime() … in ExplodeTest()
762 …{ false, "name", "value", "www.example.com", "/path", false, false, true, BDateTime() … in ExplodeTest()
/haiku/src/preferences/time/
H A DDateTimeView.cpp44 using BPrivate::BDateTime;
155 BDateTime dateTime = BDateTime::CurrentDateTime(B_LOCAL_TIME); in _Revert()
H A DBaseView.cpp56 BDateTime dateTime = BDateTime::CurrentDateTime(B_LOCAL_TIME); in ChangeTime()
/haiku/src/tests/kits/support/
H A DDateTimeTest.cpp32 BDateTime dateTime; in test()
H A DJamfile31 # BDateTime
/haiku/src/add-ons/screen_savers/flurry/
H A DFlurry.h43 BDateTime fDateTime;
H A DFlurry.cpp286 return double(BDateTime::CurrentDateTime(B_LOCAL_TIME).Time_t() + in _CurrentTime()
/haiku/headers/private/shared/
H A DDateTimeEdit.h113 BDateTime fTime;
/haiku/src/kits/shared/
H A DDateTimeEdit.cpp96 fTime = BDateTime::CurrentDateTime(B_LOCAL_TIME); in InitView()
171 fTime = BDateTime::CurrentDateTime(B_LOCAL_TIME); in SetTime()
605 time_t time = BDateTime(fDate, BTime()).Time_t(); in _UpdateFields()
/haiku/src/kits/debugger/user_interface/util/
H A DUiUtils.cpp251 BDateTime currentTime; in ReportNameForTeam()
268 BDateTime currentTime; in CoreFileNameForTeam()

12