Top |
ModulemdServiceLevel *
modulemd_service_level_new (const gchar *name
);
Since: 2.0
ModulemdServiceLevel *
modulemd_service_level_copy (ModulemdServiceLevel *self
);
Create a copy of this ModulemdServiceLevel object.
Since: 2.0
const gchar *
modulemd_service_level_get_name (ModulemdServiceLevel *self
);
Get the name of this service level.
The name of this service level. This is a pointer to the internal memory location and must not be freed.
Since: 2.0
void modulemd_service_level_set_eol (ModulemdServiceLevel *self
,GDate *date
);
Sets the end date of the service level. If the GDate passed in is invalid or NULL, the EOL will be unset.
Since: 2.0
void modulemd_service_level_set_eol_ymd (ModulemdServiceLevel *self
,GDateYear year
,GDateMonth month
,GDateDay day
);
self |
This ModulemdServiceLevel |
|
year |
The year this service level ends. |
|
month |
The month this service level ends. |
|
day |
The day of the month this service level ends. |
Since: 2.0
void
modulemd_service_level_remove_eol (ModulemdServiceLevel *self
);
Remove the EOL from this Service Level
Since: 2.0
GDate *
modulemd_service_level_get_eol (ModulemdServiceLevel *self
);
Since: 2.0
gchar *
modulemd_service_level_get_eol_as_string
(ModulemdServiceLevel *self
);
The end date of the service level as a string of the form "YYYY-MM-DD" or NULL if the date is unset or invalid.
Since: 2.0
gboolean modulemd_service_level_equals (ModulemdServiceLevel *self_1
,ModulemdServiceLevel *self_2
);
Since: 2.2