Searched refs:month (Results 1 - 25 of 30) sorted by path

12

/haiku/headers/os/locale/
H A DDateFormat.h74 status_t GetMonthName(int month, BString& outName,
/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/headers/private/shared/
H A DCalendarView.h88 bool SetMonth(int32 month);
93 bool SetDate(int32 year, int32 month, int32 day);
148 int32* month) const;
H A DDateTimeEdit.h151 void SetDate(int32 year, int32 month, int32 day);
/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
H A Diso9660.cpp1010 for (i = 1; (i < inDate->month) && (i < 12); i++) {
1014 if (((year + 2) % 4) == 0 && inDate->month > 2)
/haiku/src/add-ons/kernel/file_systems/udf/
H A DUdfStructures.h111 uint8 month() const { return _month; } function in class:timestamp
136 void set_month(uint8 month) { _month = month; } argument
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/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.
H A Dzipinfo.c2121 static ZCONST char Far month[12][4] = { variable
2177 monthstr = LoadFarStringSmall(month[mo-1]);
/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...]
H A DDateTimeEdit.cpp539 DateEdit::SetDate(int32 year, int32 month, int32 day) argument
541 fDate.SetDate(year, month, day);
601 message->AddInt32("month", fDate.Month());
/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/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/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/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/headers/private/libroot/time/
H A Dtimelocal.h38 const char* month[12]; member in struct:lc_time_t
/haiku/src/add-ons/kernel/bus_managers/mmc/
H A Dmmc_bus.cpp289 uint8_t month = cid[0] & 0xF; local
300 { "mmc/month", B_UINT8_TYPE, {.ui8 = month}},
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/
H A Dif_rtwn_fw.c148 hdr->month, hdr->date, hdr->hour, hdr->minute);
H A Dif_rtwn_fw.h42 uint8_t month; member in struct:r92c_fw_hdr
/haiku/src/apps/deskbar/
H A DCalendarMenuWindow.cpp95 fMonthLabel = new BStringView("month", "");
194 int32 day, month, year; local
196 message->FindInt32("month", &month);
199 _UpdateDate(BDate(year, month, day));
/haiku/src/kits/locale/
H A DDateFormat.cpp312 BDateFormat::GetMonthName(int month, BString& outName, argument
332 if (month > count || month <= 0) {
338 names[month - 1].toUTF8(stringConverter);
/haiku/src/preferences/time/
H A DBaseView.cpp84 int32 month; local
85 if (message->FindInt32("month", &month) != B_OK)
86 month = date.Month();
88 date.SetDate(year, month, day);
104 fMessage.AddInt32("month", date.Month());
H A DDateTimeView.cpp214 int32 month; local
216 if (message->FindInt32("month", &month) == B_OK
222 if (day != lastDay || month != lastMonth || year != lastYear) {
223 fDateEdit->SetDate(year, month, day);
224 fCalendarView->SetDate(year, month, day);
226 lastMonth = month;

Completed in 278 milliseconds

12