| 6429 | } |
| 6430 | |
| 6431 | static void |
| 6432 | garrow_strftime_options_class_init(GArrowStrftimeOptionsClass *klass) |
| 6433 | { |
| 6434 | auto gobject_class = G_OBJECT_CLASS(klass); |
| 6435 | |
| 6436 | gobject_class->set_property = garrow_strftime_options_set_property; |
| 6437 | gobject_class->get_property = garrow_strftime_options_get_property; |
| 6438 | |
| 6439 | arrow::compute::StrftimeOptions options; |
| 6440 | |
| 6441 | GParamSpec *spec; |
| 6442 | /** |
| 6443 | * GArrowStrftimeOptions:format: |
| 6444 | * |
| 6445 | * The desired format string. |
| 6446 | * |
| 6447 | * Since: 16.0.0 |
| 6448 | */ |
| 6449 | spec = g_param_spec_string("format", |
| 6450 | "Format", |
| 6451 | "The desired format string", |
| 6452 | options.format.c_str(), |
| 6453 | static_cast<GParamFlags>(G_PARAM_READWRITE)); |
| 6454 | g_object_class_install_property(gobject_class, PROP_STRFTIME_OPTIONS_FORMAT, spec); |
| 6455 | |
| 6456 | /** |
| 6457 | * GArrowStrftimeOptions:locale: |
| 6458 | * |
| 6459 | * The desired output locale string. |
| 6460 | * |
| 6461 | * Since: 16.0.0 |
| 6462 | */ |
| 6463 | spec = g_param_spec_string("locale", |
| 6464 | "locale", |
| 6465 | "The desired output locale string", |
| 6466 | options.locale.c_str(), |
| 6467 | static_cast<GParamFlags>(G_PARAM_READWRITE)); |
| 6468 | g_object_class_install_property(gobject_class, PROP_STRFTIME_OPTIONS_LOCALE, spec); |
| 6469 | } |
| 6470 | |
| 6471 | /** |
| 6472 | * garrow_strftime_options_new: |
nothing calls this directly
no outgoing calls
no test coverage detected