Date.this

Creates a #SoupDate representing the indicated time, UTC.

  1. this(SoupDate* soupDate, bool ownedRef)
  2. this(int year, int month, int day, int hour, int minute, int second)
    class Date
    this
    (
    int year
    ,
    int month
    ,
    int day
    ,
    int hour
    ,
    int minute
    ,
    int second
    )
  3. this(int offsetSeconds)
  4. this(string dateString)
  5. this(uint when)

Parameters

year int

the year (1-9999)

month int

the month (1-12)

day int

the day of the month (1-31, as appropriate for @month)

hour int

the hour (0-23)

minute int

the minute (0-59)

second int

the second (0-59, or up to 61 for leap seconds)

Return Value

a new #SoupDate

Throws

ConstructionException GTK+ fails to create the object.

Meta