TimeSpanExtensionsTimeSpanTruncate Enumeration
Precision specification for the {DateTime.}TruncateTo method
Namespace: MoreDateTime.ExtensionsAssembly: MoreDateTime (in MoreDateTime.dll) Version: 1.3.0
public enum TimeSpanTruncate
public enum class TimeSpanTruncate
No code example is currently available or this language may not be supported.
| Weeks |
0 |
Precision Week, all below is set to 0 |
| Days |
1 |
Precision Day, all below is set to 0 |
| Hours |
2 |
Precision Hour, all below is set to 0 |
| Minutes |
3 |
Precision Minute, all below is set to 0 |
| Seconds |
4 |
Precision Second, all below is set to 0 |