microsecond property
int
microsecond
The microsecond 0...999
.
var moonLanding = JDate.parse('1969-07-20 20:18:04Z');
assert(moonLanding.microsecond == 0);
Implementation
int get microsecond => _microsecond;
The microsecond 0...999
.
var moonLanding = JDate.parse('1969-07-20 20:18:04Z');
assert(moonLanding.microsecond == 0);
Implementation
set microsecond(int microsecond) {
if (microsecond >= 0 && microsecond < 1000) {
_microsecondsSinceEpoch += -_microsecond + microsecond;
_microsecond = microsecond;
} else {
throw 'Microsecond number out of range';
}
}