// Map applies mapping function on optional value if it presents
Map applies mapping function on optional value if it presents
// Map applies mapping function on optional value if it presents
func (t Time) Map(f func(time.Time) time.Time) Time {
	if f == nil || !t.IsPresent() {
		return Time{}
	}
	return OfTime(f(t.value))
}
func ( t Time ) Map ( f func ( time . Time ) time . Time ) Time { if f == nil || ! t . IsPresent ( ) { return Time { } } return OfTime ( f ( t . value ) ) }
Map applies mapping function on optional value if it presents
Map applies mapping function on optional value if it presents