GLib.DateTime
const GLib = imports.gi.GLib; let dateTime = new GLib.DateTime();
<structname>GDateTime</structname> is an opaque structure whose members cannot be accessed directly.
Since 2.26
Methods
- GLib.DateTime.prototype.add
- GLib.DateTime.prototype.add_days
- GLib.DateTime.prototype.add_full
- GLib.DateTime.prototype.add_hours
- GLib.DateTime.prototype.add_minutes
- GLib.DateTime.prototype.add_months
- GLib.DateTime.prototype.add_seconds
- GLib.DateTime.prototype.add_weeks
- GLib.DateTime.prototype.add_years
- GLib.DateTime.prototype.difference
- GLib.DateTime.prototype.format
- GLib.DateTime.prototype.get_day_of_month
- GLib.DateTime.prototype.get_day_of_week
- GLib.DateTime.prototype.get_day_of_year
- GLib.DateTime.prototype.get_hour
- GLib.DateTime.prototype.get_microsecond
- GLib.DateTime.prototype.get_minute
- GLib.DateTime.prototype.get_month
- GLib.DateTime.prototype.get_second
- GLib.DateTime.prototype.get_seconds
- GLib.DateTime.prototype.get_timezone_abbreviation
- GLib.DateTime.prototype.get_utc_offset
- GLib.DateTime.prototype.get_week_numbering_year
- GLib.DateTime.prototype.get_week_of_year
- GLib.DateTime.prototype.get_year
- GLib.DateTime.prototype.get_ymd
- GLib.DateTime.prototype.is_daylight_savings
- GLib.DateTime.prototype.ref
- GLib.DateTime.prototype.to_local
- GLib.DateTime.prototype.to_timeval
- GLib.DateTime.prototype.to_timezone
- GLib.DateTime.prototype.to_unix
- GLib.DateTime.prototype.to_utc
- GLib.DateTime.prototype.unref