Class DateTimeBuilder
Inheritance
System.Object
DateTimeBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: FixAntenna.Common.dll
Syntax
public class DateTimeBuilder
Constructors
DateTimeBuilder()
Declaration
DateTimeBuilder(DateTime)
Declaration
public DateTimeBuilder(DateTime source)
Parameters
Type |
Name |
Description |
System.DateTime |
source |
|
DateTimeBuilder(Int32, Int32, Int32)
Declaration
public DateTimeBuilder(int year, int month, int day)
Parameters
Type |
Name |
Description |
System.Int32 |
year |
|
System.Int32 |
month |
|
System.Int32 |
day |
|
DateTimeBuilder(Int32, Int32, Int32, Int32, Int32, Int32)
Declaration
public DateTimeBuilder(int year, int month, int day, int hour, int minute, int second)
Parameters
Type |
Name |
Description |
System.Int32 |
year |
|
System.Int32 |
month |
|
System.Int32 |
day |
|
System.Int32 |
hour |
|
System.Int32 |
minute |
|
System.Int32 |
second |
|
Methods
Build(DateTimeKind)
Declaration
public DateTime Build(DateTimeKind kind)
Parameters
Type |
Name |
Description |
System.DateTimeKind |
kind |
|
Returns
Type |
Description |
System.DateTime |
|
Build(TimeSpan)
Declaration
public DateTimeOffset Build(TimeSpan offset)
Parameters
Type |
Name |
Description |
System.TimeSpan |
offset |
|
Returns
Type |
Description |
System.DateTimeOffset |
|
SetDay(Int32)
Declaration
public DateTimeBuilder SetDay(int day)
Parameters
Type |
Name |
Description |
System.Int32 |
day |
|
Returns
SetHour(Int32)
Declaration
public DateTimeBuilder SetHour(int hour)
Parameters
Type |
Name |
Description |
System.Int32 |
hour |
|
Returns
SetMillisecond(Int32)
Declaration
public DateTimeBuilder SetMillisecond(int millisecond)
Parameters
Type |
Name |
Description |
System.Int32 |
millisecond |
|
Returns
SetMinute(Int32)
Declaration
public DateTimeBuilder SetMinute(int minute)
Parameters
Type |
Name |
Description |
System.Int32 |
minute |
|
Returns
SetMonth(Int32)
Declaration
public DateTimeBuilder SetMonth(int month)
Parameters
Type |
Name |
Description |
System.Int32 |
month |
|
Returns
SetNanosecond(Int32)
Declaration
public DateTimeBuilder SetNanosecond(int nanosecond)
Parameters
Type |
Name |
Description |
System.Int32 |
nanosecond |
|
Returns
SetSecond(Int32)
Declaration
public DateTimeBuilder SetSecond(int second)
Parameters
Type |
Name |
Description |
System.Int32 |
second |
|
Returns
SetYear(Int32)
Declaration
public DateTimeBuilder SetYear(int year)
Parameters
Type |
Name |
Description |
System.Int32 |
year |
|
Returns