메소드 | 설명 | |
---|---|---|
Add ( this dt, int count, TimeUnits unit ) : System.DateTime | ||
Add ( this dt, int count, TimeUnits unit ) : DateTimeOffset |
Warning: bug found. dt.Offset may be incorrect as offsets could be different if range crosses daylight saving switch, i.e. October - December, or month of November in the EST USA.
|
|
CalculationParent ( this unit ) : TimeUnits? |
Returns higher time Unit in which the given Unit is *repeated within*. This is not a direct hierarchy! Different types of units may have same parent. For example, Month number 1..12 is repeated within a Year, so Month's parent is Year, not quarter. Quarter 1..4 also is repeated within a year, so Quarter's parent is also year. Same goes for Week number 1..52.
|
|
Current ( this unit, System.DateTime referenceMoment ) : DateRange | ||
Current ( this unit, DateTimeOffset referenceMoment = null ) : TimeMomentRange |
Warning: bug found. dt.Offset may be incorrect as offsets could be different if range crosses daylight saving switch, i.e. October - December, or month of November in the EST USA.
|
|
EndOf ( this dt, TimeUnits unit ) : System.DateTime | ||
EndOf ( this dt, TimeUnits unit ) : DateTimeOffset |
Warning: bug found. dt.Offset may be incorrect as offsets could be different if range crosses daylight saving switch, i.e. October - December, or month of November in the EST USA.
|
|
Future ( this unit, ulong unitCount, System.DateTime referenceMoment ) : DateRange | ||
Future ( this unit, ulong unitCount = 1, DateTimeOffset referenceMoment = null ) : TimeMomentRange |
Warning: bug found. dt.Offset may be incorrect as offsets could be different if range crosses daylight saving switch, i.e. October - December, or month of November in the EST USA.
|
|
IsMomentInTime ( this unit ) : bool | ||
Next ( this unit, ulong unitCount, System.DateTime referenceMoment ) : DateRange | ||
Next ( this unit, ulong unitCount = 1, DateTimeOffset referenceMoment = null ) : TimeMomentRange |
Warning: bug found. dt.Offset may be incorrect as offsets could be different if range crosses daylight saving switch, i.e. October - December, or month of November in the EST USA.
|
|
Past ( this unit, ulong unitCount, System.DateTime referenceMoment ) : DateRange | ||
Past ( this unit, ulong unitCount = 1, DateTimeOffset referenceMoment = null ) : TimeMomentRange |
Warning: bug found. dt.Offset may be incorrect as offsets could be different if range crosses daylight saving switch, i.e. October - December, or month of November in the EST USA.
|
|
Previous ( this unit, ulong unitCount, System.DateTime referenceMoment ) : DateRange | ||
Previous ( this unit, ulong unitCount = 1, DateTimeOffset referenceMoment = null ) : TimeMomentRange |
Warning: bug found. dt.Offset may be incorrect as offsets could be different if range crosses daylight saving switch, i.e. October - December, or month of November in the EST USA.
|
|
RangeCurrent ( this dt, TimeUnits unit ) : DateRange | ||
RangeCurrent ( this dt, TimeUnits unit ) : TimeMomentRange |
Warning: bug found. dt.Offset may be incorrect as offsets could be different if range crosses daylight saving switch, i.e. October - December, or month of November in the EST USA.
|
|
RangeFuture ( this dt, ulong unitCount, TimeUnits unit ) : DateRange | ||
RangeFuture ( this dt, ulong unitCount, TimeUnits unit ) : TimeMomentRange |
Warning: bug found. dt.Offset may be incorrect as offsets could be different if range crosses daylight saving switch, i.e. October - December, or month of November in the EST USA.
|
|
RangeNext ( this dt, ulong unitCount, TimeUnits unit ) : DateRange | ||
RangeNext ( this dt, ulong unitCount, TimeUnits unit ) : TimeMomentRange |
Warning: bug found. dt.Offset may be incorrect as offsets could be different if range crosses daylight saving switch, i.e. October - December, or month of November in the EST USA.
|
|
RangePast ( this dt, ulong unitCount, TimeUnits unit ) : DateRange | ||
RangePast ( this dt, ulong unitCount, TimeUnits unit ) : TimeMomentRange |
Warning: bug found. dt.Offset may be incorrect as offsets could be different if range crosses daylight saving switch, i.e. October - December, or month of November in the EST USA.
|
|
RangePrevious ( this dt, ulong unitCount, TimeUnits unit ) : DateRange | ||
RangePrevious ( this dt, ulong unitCount, TimeUnits unit ) : TimeMomentRange |
Warning: bug found. dt.Offset may be incorrect as offsets could be different if range crosses daylight saving switch, i.e. October - December, or month of November in the EST USA.
|
|
RangeToDate ( this dt, TimeUnits unit ) : DateRange | ||
RangeToDate ( this dt, TimeUnits unit ) : TimeMomentRange |
Warning: bug found. dt.Offset may be incorrect as offsets could be different if range crosses daylight saving switch, i.e. October - December, or month of November in the EST USA.
|
|
StartOf ( this dt, TimeUnits unit ) : System.DateTime | ||
StartOf ( this dt, TimeUnits unit ) : DateTimeOffset |
Warning: bug found. dt.Offset may be incorrect as offsets could be different if range crosses daylight saving switch, i.e. October - December, or month of November in the EST USA.
|
|
ToDate ( this unit, System.DateTime referenceMoment ) : DateRange | ||
ToDate ( this unit, DateTimeOffset referenceMoment = null ) : TimeMomentRange |
Warning: bug found. dt.Offset may be incorrect as offsets could be different if range crosses daylight saving switch, i.e. October - December, or month of November in the EST USA.
|
public static Add ( this dt, int count, TimeUnits unit ) : System.DateTime | ||
dt | this | |
count | int | |
unit | TimeUnits | |
리턴 | System.DateTime |
public static Add ( this dt, int count, TimeUnits unit ) : DateTimeOffset | ||
dt | this | |
count | int | |
unit | TimeUnits | |
리턴 | DateTimeOffset |
public static CalculationParent ( this unit ) : TimeUnits? | ||
unit | this | |
리턴 | TimeUnits? |
public static Current ( this unit, System.DateTime referenceMoment ) : DateRange | ||
unit | this | |
referenceMoment | System.DateTime | |
리턴 | DateRange |
public static Current ( this unit, DateTimeOffset referenceMoment = null ) : TimeMomentRange | ||
unit | this | |
referenceMoment | DateTimeOffset | |
리턴 | TimeMomentRange |
public static EndOf ( this dt, TimeUnits unit ) : System.DateTime | ||
dt | this | |
unit | TimeUnits | |
리턴 | System.DateTime |
public static EndOf ( this dt, TimeUnits unit ) : DateTimeOffset | ||
dt | this | |
unit | TimeUnits | |
리턴 | DateTimeOffset |
public static Future ( this unit, ulong unitCount, System.DateTime referenceMoment ) : DateRange | ||
unit | this | |
unitCount | ulong | |
referenceMoment | System.DateTime | |
리턴 | DateRange |
public static Future ( this unit, ulong unitCount = 1, DateTimeOffset referenceMoment = null ) : TimeMomentRange | ||
unit | this | |
unitCount | ulong | |
referenceMoment | DateTimeOffset | |
리턴 | TimeMomentRange |
public static Next ( this unit, ulong unitCount, System.DateTime referenceMoment ) : DateRange | ||
unit | this | |
unitCount | ulong | |
referenceMoment | System.DateTime | |
리턴 | DateRange |
public static Next ( this unit, ulong unitCount = 1, DateTimeOffset referenceMoment = null ) : TimeMomentRange | ||
unit | this | |
unitCount | ulong | |
referenceMoment | DateTimeOffset | |
리턴 | TimeMomentRange |
public static Past ( this unit, ulong unitCount, System.DateTime referenceMoment ) : DateRange | ||
unit | this | |
unitCount | ulong | |
referenceMoment | System.DateTime | |
리턴 | DateRange |
public static Past ( this unit, ulong unitCount = 1, DateTimeOffset referenceMoment = null ) : TimeMomentRange | ||
unit | this | |
unitCount | ulong | |
referenceMoment | DateTimeOffset | |
리턴 | TimeMomentRange |
public static Previous ( this unit, ulong unitCount, System.DateTime referenceMoment ) : DateRange | ||
unit | this | |
unitCount | ulong | |
referenceMoment | System.DateTime | |
리턴 | DateRange |
public static Previous ( this unit, ulong unitCount = 1, DateTimeOffset referenceMoment = null ) : TimeMomentRange | ||
unit | this | |
unitCount | ulong | |
referenceMoment | DateTimeOffset | |
리턴 | TimeMomentRange |
public static RangeCurrent ( this dt, TimeUnits unit ) : DateRange | ||
dt | this | |
unit | TimeUnits | |
리턴 | DateRange |
public static RangeCurrent ( this dt, TimeUnits unit ) : TimeMomentRange | ||
dt | this | |
unit | TimeUnits | |
리턴 | TimeMomentRange |
public static RangeFuture ( this dt, ulong unitCount, TimeUnits unit ) : DateRange | ||
dt | this | |
unitCount | ulong | |
unit | TimeUnits | |
리턴 | DateRange |
public static RangeFuture ( this dt, ulong unitCount, TimeUnits unit ) : TimeMomentRange | ||
dt | this | |
unitCount | ulong | |
unit | TimeUnits | |
리턴 | TimeMomentRange |
public static RangeNext ( this dt, ulong unitCount, TimeUnits unit ) : DateRange | ||
dt | this | |
unitCount | ulong | |
unit | TimeUnits | |
리턴 | DateRange |
public static RangeNext ( this dt, ulong unitCount, TimeUnits unit ) : TimeMomentRange | ||
dt | this | |
unitCount | ulong | |
unit | TimeUnits | |
리턴 | TimeMomentRange |
public static RangePast ( this dt, ulong unitCount, TimeUnits unit ) : DateRange | ||
dt | this | |
unitCount | ulong | |
unit | TimeUnits | |
리턴 | DateRange |
public static RangePast ( this dt, ulong unitCount, TimeUnits unit ) : TimeMomentRange | ||
dt | this | |
unitCount | ulong | |
unit | TimeUnits | |
리턴 | TimeMomentRange |
public static RangePrevious ( this dt, ulong unitCount, TimeUnits unit ) : DateRange | ||
dt | this | |
unitCount | ulong | |
unit | TimeUnits | |
리턴 | DateRange |
public static RangePrevious ( this dt, ulong unitCount, TimeUnits unit ) : TimeMomentRange | ||
dt | this | |
unitCount | ulong | |
unit | TimeUnits | |
리턴 | TimeMomentRange |
public static RangeToDate ( this dt, TimeUnits unit ) : DateRange | ||
dt | this | |
unit | TimeUnits | |
리턴 | DateRange |
public static RangeToDate ( this dt, TimeUnits unit ) : TimeMomentRange | ||
dt | this | |
unit | TimeUnits | |
리턴 | TimeMomentRange |
public static StartOf ( this dt, TimeUnits unit ) : System.DateTime | ||
dt | this | |
unit | TimeUnits | |
리턴 | System.DateTime |
public static StartOf ( this dt, TimeUnits unit ) : DateTimeOffset | ||
dt | this | |
unit | TimeUnits | |
리턴 | DateTimeOffset |
public static ToDate ( this unit, System.DateTime referenceMoment ) : DateRange | ||
unit | this | |
referenceMoment | System.DateTime | |
리턴 | DateRange |
public static ToDate ( this unit, DateTimeOffset referenceMoment = null ) : TimeMomentRange | ||
unit | this | |
referenceMoment | DateTimeOffset | |
리턴 | TimeMomentRange |