public class DateTimeFactory extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DateTimeFactory.TimeSlotTypeSpec |
| Modifier and Type | Method and Description |
|---|---|
static LocalDateTime |
now()
Returns a local date/time object with current date and time.
|
static LocalDateTime |
roundTo(LocalDateTime dateTime,
DateTimeFactory.TimeSlotTypeSpec spec) |
public static LocalDateTime now()
public static LocalDateTime roundTo(LocalDateTime dateTime, DateTimeFactory.TimeSlotTypeSpec spec)
Copyright © 2016 BFH. All rights reserved.