Asn1UtcTime(DateTime, TimeZoneInfo, Boolean) Constructor
Initializes a new instance of the Asn1UtcTime class from a date time object
to encode, time zone information and value that indicates whether to include millisecond information.
Namespace: SysadminsLV.Asn1Parser.UniversalAssembly: SysadminsLV.Asn1Parser (in SysadminsLV.Asn1Parser.dll) Version: 1.2.11
public Asn1UtcTime(
DateTime time,
TimeZoneInfo zone = null,
bool preciseTime = false
)
Public Sub New (
time As DateTime,
Optional zone As TimeZoneInfo = Nothing,
Optional preciseTime As Boolean = false
)
public:
Asn1UtcTime(
DateTime time,
TimeZoneInfo^ zone = nullptr,
bool preciseTime = false
)
new :
time : DateTime *
?zone : TimeZoneInfo *
?preciseTime : bool
(* Defaults:
let _zone = defaultArg zone null
let _preciseTime = defaultArg preciseTime false
*)
-> Asn1UtcTime
Parameters
- time DateTime
- A DateTime object.
- zone TimeZoneInfo (Optional)
- A TimeZoneInfo object that represents time zone information.
- preciseTime Boolean (Optional)
- True if encoded value should contain millisecond information, otherwise False.