Class XmpDate

Class XmpDate

Der Name: Aspose.Imaging.Xmp.Types.Basic Versammlung: Aspose.Imaging.dll (25.4.0)

Date im XMP-Paket dargestellt.

[JsonObject(MemberSerialization.OptIn)]
public sealed class XmpDate : XmpTypeBase, IXmpType, ICloneable

Inheritance

object XmpTypeBase XmpDate

Implements

IXmpType , ICloneable

Vererbte Mitglieder

XmpTypeBase.GetXmpRepresentation() , XmpTypeBase.ToString() , XmpTypeBase.Clone() , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Remarks

Ein Datum-Zeit-Wert wird mit einem Unterset der Formate wie definiert in Date und Zeit-Formate dargestellt:YYYYYYYY-MMYYYY-MM-DDYYY-MM-DDThh:mmTZDYYY-MM-DDThh:mm:ssTZDYYY-MM-DDThh:mm:ss.sTZD

Constructors

XmpDate(DateTime)

Initialisiert eine neue Instanz der Aspose.Imaging.Xmp.Types.Basic.XmpDate Klasse.

public XmpDate(DateTime dateTime)

Parameters

dateTime DateTime

Ein Datum-Zeit-Wert, der mit einem Subset der ISO RFC 8601 Formatierung dargestellt wird.

XmpDate(String)

Initialisiert eine neue Instanz der Aspose.Imaging.Xmp.Types.Basic.XmpDate Klasse.

public XmpDate(string dateString)

Parameters

dateString string

Die String repräsentation des datums.

Exceptions

ArgumentException

Invalid Date Format; Datum

Fields

Iso8601Format

Die ISO 8601 (Roundtrip) Format String.

public const string Iso8601Format = "yyyy-MM-ddTHH:mm:ssZ"

Feldwert

string

Remarks

Weitere Informationen finden Sie unter: https://en.wikipedia.org/wiki/ISO_8601 .

Properties

Format

Erhalten Sie den Formatstring für den aktuellen Wert.

public string Format { get; }

Eigentumswert

string

Value

Erhalten oder festlegen Sie den Datumwert.

[JsonProperty]
public DateTime Value { get; set; }

Eigentumswert

DateTime

Methods

GetXmpRepresentation()

Returns string enthaltene Wert in XMP-Format.

public override string GetXmpRepresentation()

Returns

string

Returns String mit xmp-Repräsentation

 Deutsch