summary refs log tree commit diff
path: root/crypto/src/util/date/DateTimeObject.cs
blob: 793376b6dd461f3774c850782a0c5f877ed0d53e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using System;

namespace Org.BouncyCastle.Utilities.Date
{
	public sealed class DateTimeObject
	{
		private readonly DateTime dt;

		public DateTimeObject(
			DateTime dt)
		{
			this.dt = dt;
		}

		public DateTime Value
		{
			get { return dt; }
		}

		public override string ToString()
		{
			return dt.ToString();
		}
	}
}