class_docstr: Represents a tensor of dates.
class_docstr_tok: ["Represents","a","tensor","of","dates","."]
docstr: Computes the number of days until the target dates.
  
  Args:
    target_date_tensor: A DateTensor object broadcastable to the shape of
      "self".
  
  Returns:
    An int32 tensor with numbers of days until the target dates.
  
   #### Example
  
   ```python
  dates = tff.datetime.dates_from_tuples([(2020, 1, 25), (2020, 3, 2)])
  target = tff.datetime.dates_from_tuples([(2020, 3, 5)])
  dates.days_until(target) # [40, 3]
  
  targets = tff.datetime.dates_from_tuples([(2020, 2, 5), (2020, 3, 5)])
  dates.days_until(targets)  # [11, 3]
  ```
code: def days_until(self, target_date_tensor):
      """Computes the number of days until the target dates.
  
      Args:
        target_date_tensor: A DateTensor object broadcastable to the shape of
          "self".
  
      Returns:
        An int32 tensor with numbers of days until the target dates.
  
       #### Example
  
       ```python
      dates = tff.datetime.dates_from_tuples([(2020, 1, 25), (2020, 3, 2)])
      target = tff.datetime.dates_from_tuples([(2020, 3, 5)])
      dates.days_until(target) # [40, 3]
  
      targets = tff.datetime.dates_from_tuples([(2020, 2, 5), (2020, 3, 5)])
      dates.days_until(targets)  # [11, 3]
      ```
      """
      return target_date_tensor.ordinal() - self._ordinals
  
imports: import collections.abc
  import datetime
  import numpy
  import tensorflow.compat.v2
  from tf_quant_finance.datetime import constants
  from tf_quant_finance.datetime import date_utils
  from tf_quant_finance.datetime import periods
  from tf_quant_finance.datetime import tensor_wrapper
label_desc: Use image node_id 9 for calling the DateTensor obj's underlying member method code with example usage: obj.days_until(target_date_tensor) and returns: unknown