XmpDateTimeFactory Public class
Description
A factory to create ...
Diagram
flowchart LR classDef interfaceStyle stroke-dasharray: 5 5; classDef abstractStyle stroke-width:4px subgraph iTextSharp.xmp iTextSharp.xmp.XmpDateTimeFactory[[XmpDateTimeFactory]] end
Members
Properties
Public Static properties
|
Type |
Name |
Methods |
|---|---|---|
|
|
|
|
Methods
Public Static methods
|
Returns |
Name |
|---|---|
|
|
(
dateTime)
|
|
|
(
dateTime)
|
|
|
( |
|
|
(
calendar)
|
|
|
( |
|
|
(
dateTime)
|
Details
Summary
A factory to create
XMPDateTime
-instances from a
Calendar
Methods
CreateFromCalendar
Source code
public static IXmpDateTime CreateFromCalendar(XmpCalendar calendar)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
calendar |
a ... |
Summary
Creates an
XMPDateTime
from a
Calendar
Returns
An
XMPDateTime
Create [1/3]
Source code
public static IXmpDateTime Create()
Summary
Creates an empty
XMPDateTime
Returns
Returns an
XMPDateTime
Create [2/3]
Source code
public static IXmpDateTime Create(int year, int month, int day)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
year |
|
|
|
month |
|
|
|
day |
Create [3/3]
Source code
public static IXmpDateTime Create(int year, int month, int day, int hour, int minute, int second, int nanoSecond)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
year |
|
|
|
month |
|
|
|
day |
|
|
|
hour |
|
|
|
minute |
|
|
|
second |
|
|
|
nanoSecond |
CreateFromIso8601
Source code
public static IXmpDateTime CreateFromIso8601(string strValue)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
strValue |
The ISO 8601 string representation of the date/time. |
Summary
Creates an
XMPDateTime
Returns
An
XMPDateTime
Exceptions
|
Name |
Description |
|---|---|
|
XmpException |
When the ISO 8601 string is non-conform |
SetLocalTimeZone
Source code
public static IXmpDateTime SetLocalTimeZone(IXmpDateTime dateTime)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
dateTime |
the ... |
Summary
Sets the local time zone without touching any other Any existing time zone value is replaced, the other date/time fields are not adjusted in any way.
Returns
Returns an updated
XMPDateTime
ConvertToUtcTime
Source code
public static IXmpDateTime ConvertToUtcTime(IXmpDateTime dateTime)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
dateTime |
the ... |
Summary
Make sure a time is UTC. If the time zone is not UTC, the time is adjusted and the time zone set to be UTC.
Returns
Returns an updated
XMPDateTime
ConvertToLocalTime
Source code
public static IXmpDateTime ConvertToLocalTime(IXmpDateTime dateTime)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
dateTime |
the ... |
Summary
Make sure a time is local. If the time zone is not the local zone, the time is adjusted and the time zone set to be local.
Returns
Returns an updated
XMPDateTime
Properties
CurrentDateTime
public static IXmpDateTime CurrentDateTime { get; }
Summary
Obtain the current date and time.
Generated with ModularDoc