Searched refs:month (Results 1 - 25 of 29) sorted by relevance

12

/haiku/headers/private/libroot/time/
H A Dtimelocal.h41 const char* month[12]; member in struct:lc_time_t
/haiku/src/system/kernel/
H A Dreal_time_clock.cpp182 int year, month; local
184 month = tm->tm_mon + 1;
190 + 1461 * (year + 4800 + (month - 14) / 12) / 4
191 + 367 * (month - 2 - 12 * ((month - 14) / 12)) / 12
192 - 3 * ((year + 4900 + (month - 14) / 12) / 100) / 4;
202 uint32 year, month, day, l, n; local
211 month = 80 * l / 2447;
212 day = l - 2447 * month / 80;
213 l = month / 1
[all...]
/haiku/src/system/boot/platform/openfirmware/
H A Dreal_time_clock.cpp48 int second, minute, hour, day, month, year; local
49 if (of_call_method(sHandle, "get-time", 0, 6, &year, &month, &day,
/haiku/src/preferences/time/
H A DBaseView.cpp84 int32 month; local
85 if (message->FindInt32("month", &month) != B_OK)
86 month = date.Month();
89 date.SetDate(year, month, day);
106 fMessage.AddInt32("month", date.Month());
H A DDateTimeView.cpp212 int32 month; local
214 if (message->FindInt32("month", &month) == B_OK
220 if (day != lastDay || month != lastMonth || year != lastYear) {
221 fDateEdit->SetDate(year, month, day);
222 fCalendarView->SetDate(year, month, day);
224 lastMonth = month;
H A DDateTimeEdit.h91 void SetDate(int32 year, int32 month, int32 day);
H A DDateTimeEdit.cpp542 TDateEdit::SetDate(int32 year, int32 month, int32 day) argument
544 fDate.SetDate(year, month, day);
603 message->AddInt32("month", data);
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/
H A Dif_rtwn_fw.h42 uint8_t month; member in struct:r92c_fw_hdr
H A Dif_rtwn_fw.c149 hdr->month, hdr->date, hdr->hour, hdr->minute);
/haiku/headers/os/support/
H A DDateTime.h93 BDate(int32 year, int32 month, int32 day);
103 static bool IsValid(int32 year, int32 month,
111 bool SetDate(int32 year, int32 month, int32 day);
112 void GetDate(int32* year, int32* month,
125 void SetMonth(int32 month);
142 static BString ShortMonthName(int32 month);
148 static BString LongMonthName(int32 month);
163 static int32 _DaysInMonth(int32 year, int32 month);
164 bool _SetDate(int32 year, int32 month, int32 day);
165 static int32 _DateToJulianDay(int32 year, int32 month,
[all...]
/haiku/src/system/libroot/posix/locale/
H A DLocaleData.cpp283 gPosixLCTimeInfo.month[0],
284 gPosixLCTimeInfo.month[1],
285 gPosixLCTimeInfo.month[2],
286 gPosixLCTimeInfo.month[3],
287 gPosixLCTimeInfo.month[4],
288 gPosixLCTimeInfo.month[5],
289 gPosixLCTimeInfo.month[6],
290 gPosixLCTimeInfo.month[7],
291 gPosixLCTimeInfo.month[8],
292 gPosixLCTimeInfo.month[
[all...]
/haiku/src/kits/support/
H A DDateTime.cpp478 Constructs a BDate object with \c year \c month and \c day.
486 BDate::BDate(int32 year, int32 month, int32 day) argument
488 _SetDate(year, month, day);
522 archive->FindInt32("month", &fMonth);
550 ret = into->AddInt32("month", fMonth);
582 BDate::IsValid(int32 year, int32 month, int32 day) argument
588 if (month < 1 || month > 12)
591 if (day < 1 || day > _DaysInMonth(year, month))
595 if (year == 1582 && month
640 SetDate(int32 year, int32 month, int32 day) argument
653 GetDate(int32* year, int32* month, int32* day) const argument
786 SetMonth(int32 month) argument
987 ShortMonthName(int32 month) argument
1049 LongMonthName(int32 month) argument
1179 _SetDate(int32 year, int32 month, int32 day) argument
1197 _DaysInMonth(int32 year, int32 month) argument
1210 _DateToJulianDay(int32 _year, int32 month, int32 day) argument
[all...]
/haiku/src/add-ons/kernel/file_systems/udf/
H A DUtils.cpp95 "month: %d, day: %d, hour: %d, minute: %d, second: %d)", timestamp.type_and_timezone(),
98 timestamp.month(), timestamp.day(), timestamp.hour(), timestamp.minute(), timestamp.second()));
108 int month = timestamp.month(); local
133 for (int i = 0; i < month-1; i++) {
136 if (month > 2 && isLeapYear)
H A DUdfStructures.cpp230 get_month_length(int month, int year) argument
232 if (0 <= month && month < 12 && year >= 1970) {
234 int result = monthLengths[month];
235 if (month == 1 && ((year - 1968) % 4 == 0))
239 DEBUG_INIT_ETC(NULL, ("month: %d, year: %d", month, year));
240 PRINT(("Invalid month or year! Returning 0\n"));
285 // by days until we figure out what the day, month,
288 int month
[all...]
/haiku/src/system/kernel/arch/x86/
H A Darch_real_time_clock.cpp25 uint8 month; member in struct:__anon5330
67 && time1->month == time2->month
117 cmos->month = cmos_read(0x08);
132 cmos_write(0x08, cmos->month);
146 t.tm_mon = bcd_to_int(cmos->month) - 1;
168 cmos->month = int_to_bcd(t.tm_mon + 1);
/haiku/src/system/kernel/arch/m68k/
H A Darch_real_time_clock.cpp23 uint8 month; member in struct:__anon7
65 && time1->month == time2->month
103 cmos->month = cmos_read(0x08);
118 cmos_write(0x08, cmos->month);
132 t.tm_mon = bcd_to_int(cmos->month) - 1;
154 cmos->month = int_to_bcd(t.tm_mon + 1);
/haiku/src/add-ons/kernel/file_systems/iso9660/
H A Diso9660.h50 char month[3]; member in struct:ISOVolDate
64 uint8 month; member in struct:ISORecDate
/haiku/src/kits/shared/
H A DCalendarView.cpp325 int32 month; local
326 _GetYearMonthForSelection(fSelectedDay, &year, &month);
329 clone.AddInt32("month", fDate.Month());
549 int32 month; local
550 _GetYearMonthForSelection(fSelectedDay, NULL, &month);
552 return month;
569 BCalendarView::SetMonth(int32 month) argument
571 if (month < 1 || month > 12)
576 date.SetMonth(month);
611 int32 month; local
661 SetDate(int32 year, int32 month, int32 day) argument
1320 int32 month; local
[all...]
/haiku/headers/os/locale/
H A DDateFormat.h74 status_t GetMonthName(int month, BString& outName,
/haiku/src/system/libroot/posix/time/
H A Dstrptime.c364 for (i = 0; i < asizeof(tptr->month); i++) {
374 len = strlen(tptr->month[i]);
375 if (strncasecmp(buf, tptr->month[i],
384 if (i == asizeof(tptr->month))
/haiku/src/apps/deskbar/
H A DCalendarMenuWindow.cpp94 fMonthLabel = new BStringView("month", "");
193 int32 day, month, year; local
195 message->FindInt32("month", &month);
198 _UpdateDate(BDate(year, month, day));
/haiku/headers/private/shared/
H A DCalendarView.h88 bool SetMonth(int32 month);
93 bool SetDate(int32 year, int32 month, int32 day);
148 int32* month) const;
/haiku/src/kits/locale/
H A DDateFormat.cpp309 BDateFormat::GetMonthName(int month, BString& outName, argument
329 if (month > count || month <= 0) {
335 names[month - 1].toUTF8(stringConverter);
/haiku/src/system/libroot/add-ons/icu/
H A DICUTimeData.cpp35 fLCTimeInfo.month[i] = fMonth[i];
172 strcpy(fMonth[i], fDataBridge->posixLCTimeInfo->month[i]);
/haiku/src/bin/unzip/
H A Dtimezone.c75 #define YDAYS(month, year) yr_days[leap(year)][month]
86 /* Length of month `m' (0 .. 11) */
166 ** Mm.n.d - nth "dth day" of month m.
177 ** month.
189 ** "dow" is the day-of-week of the first day of the month. Get
190 ** the day-of-month (zero-origin) of the first "dow" day of the
191 ** month.
203 ** "d" is the day-of-month (zero-origin) of the day we want.

Completed in 305 milliseconds

12