mirror of
https://github.com/Tribufu/TribufuDotNet
synced 2026-08-10 05:11:07 +00:00
30 lines
871 B
C#
30 lines
871 B
C#
/*
|
|
* Tribufu API
|
|
*
|
|
* API to access Tribufu services.
|
|
*
|
|
* The version of the OpenAPI document: 1.4.3
|
|
* Contact: contact@tribufu.com
|
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
|
*/
|
|
|
|
using Newtonsoft.Json.Converters;
|
|
|
|
namespace Tribufu.Client
|
|
{
|
|
/// <summary>
|
|
/// Formatter for 'date' openapi formats ss defined by full-date - RFC3339
|
|
/// see https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#data-types
|
|
/// </summary>
|
|
public class OpenAPIDateConverter : IsoDateTimeConverter
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="OpenAPIDateConverter" /> class.
|
|
/// </summary>
|
|
public OpenAPIDateConverter()
|
|
{
|
|
// full-date = date-fullyear "-" date-month "-" date-mday
|
|
DateTimeFormat = "yyyy-MM-dd";
|
|
}
|
|
}
|
|
}
|