How to set validRange for multiple fields mask

Hello,
I try to use wx.lib.masked with textCtrl to edit large date for astrology software.
I have initialise control like this:
self.dateEtudeCtrl = masked.TextCtrl( self.m_panelEtude, -1, '', mask = '##-##-####', validRange= **????**)
But I would like control range of each part of mask.
The first between 1-31
The second between 1-12
The last between 1-5000

I have not found how to do.
In advance thank you for your answer.
Philippe