Class XmpDate
名称: Aspose.Imaging.Xmp.Types.Basic アセンション: Aspose.Imaging.dll (25.4.0)
XMPパッケージでデートを表示します。
[JsonObject(MemberSerialization.OptIn)]
public sealed class XmpDate : XmpTypeBase, IXmpType, ICloneable
Inheritance
object ← XmpTypeBase ← XmpDate
Implements
相続人
XmpTypeBase.GetXmpRepresentation() , XmpTypeBase.ToString() , XmpTypeBase.Clone() , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Remarks
日付時間値は、日付と時間形式で定義されている形式のサブセットを使用して表示されます。YYYYYYYY-MM☆☆☆☆☆☆☆☆YYY-MM-DDThh:mmTZDYYY-MM-DDThh:mm:ssTZDYYY-MM-DDThh:mm:ss.sTZD
Constructors
XmpDate(DateTime)
Aspose.Imaging.Xmp.Types.Basic.XmpDate クラスの新しい例を開始します。
public XmpDate(DateTime dateTime)
Parameters
dateTime
DateTime
日付時間値は、ISO RFC 8601 フォーマットのサブセットを使用して表示されます。
XmpDate(ストレッチ)
Aspose.Imaging.Xmp.Types.Basic.XmpDate クラスの新しい例を開始します。
public XmpDate(string dateString)
Parameters
dateString
string
日付のストレッチ代表。
Exceptions
無効の日付形式;日付
Fields
Iso8601Format
ISO 8601 (ラウンドトリップ) フォーマット シート
public const string Iso8601Format = "yyyy-MM-ddTHH:mm:ssZ"
フィールド価値
Remarks
もっと見る: https://en.wikipedia.org/wiki/ISO_8601
Properties
Format
現在の値のためのフォーマットラインを取得します。
public string Format { get; }
不動産価値
Value
日付値を取得または設定します。
[JsonProperty]
public DateTime Value { get; set; }
不動産価値
Methods
GetXmpRepresentation()
XMP フォーマットに含まれる値を返します。
public override string GetXmpRepresentation()
Returns
xmp プレゼンテーションを含むストレッチを返す