Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class NodaTime.​TimeAdjusters

Assembly: NodaTime

Inheritance: object → TimeAdjusters

Factory class for time adjusters: functions from <see cref="T:NodaTime.LocalTime" /> to <c>LocalTime</c> , which can be applied to <see cref="T:NodaTime.LocalTime" /> , <see cref="T:NodaTime.LocalDateTime" /> , and <see cref="T:NodaTime.OffsetDateTime" /> .

Properties

public static System.​Func<​LocalTime, LocalTime>
TruncateToSecond
Gets a time adjuster to truncate the time to the second, discarding fractional seconds.
public static System.​Func<​LocalTime, LocalTime>
TruncateToMinute
Gets a time adjuster to truncate the time to the minute, discarding fractional minutes.
public static System.​Func<​LocalTime, LocalTime>
TruncateToHour
Get a time adjuster to truncate the time to the hour, discarding fractional hours.

Methods

public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object