Date#
- class Date(**kwargs)#
- Constructors:
Date()
new() -> GLib.Date
new_dmy(day:int, month:GLib.DateMonth, year:int) -> GLib.Date
new_julian(julian_day:int) -> GLib.Date
Constructors#
Methods#
- class Date
-
- get_week_of_year(first_day_of_week: DateWeekday) int#
- Parameters:
first_day_of_week
- get_weekday() DateWeekday#
- classmethod get_weeks_in_year(year: int, first_day_of_week: DateWeekday) int#
- Parameters:
year
first_day_of_week
- classmethod strftime(s: str, slen: int, format: str, date: Date) int#
- Parameters:
s
slen
format
date
- classmethod valid_weekday(weekday: DateWeekday) bool#
- Parameters:
weekday