init commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
|
||||
namespace Org.BouncyCastle.Utilities.Date;
|
||||
|
||||
public sealed class DateTimeObject
|
||||
{
|
||||
private readonly DateTime dt;
|
||||
|
||||
public DateTime Value => dt;
|
||||
|
||||
public DateTimeObject(DateTime dt)
|
||||
{
|
||||
this.dt = dt;
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
DateTime dateTime = dt;
|
||||
return dateTime.ToString();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user